| Index: pkg/dartdoc/lib/classify.dart
|
| diff --git a/pkg/dartdoc/lib/classify.dart b/pkg/dartdoc/lib/classify.dart
|
| index ce25044c17728c13015b83d1609a85495fbe2d09..0532a1ef1b2befc363a0ed566648816046a0515f 100644
|
| --- a/pkg/dartdoc/lib/classify.dart
|
| +++ b/pkg/dartdoc/lib/classify.dart
|
| @@ -2,11 +2,11 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -#library('classify');
|
| +library classify;
|
|
|
| -#import('../../../lib/compiler/implementation/scanner/scannerlib.dart');
|
| +import '../../../lib/compiler/implementation/scanner/scannerlib.dart';
|
| // TODO(rnystrom): Use "package:" URL (#4968).
|
| -#import('markdown.dart', prefix: 'md');
|
| +import 'markdown.dart' as md;
|
|
|
| /**
|
| * Kinds of tokens that we care to highlight differently. The values of the
|
| @@ -184,11 +184,11 @@ String classify(Token token) {
|
| // Color keyword token. Most are colored as keywords.
|
| case HASH_TOKEN:
|
| case KEYWORD_TOKEN:
|
| - if (token.stringValue === 'void') {
|
| + if (token.stringValue == 'void') {
|
| // Color "void" as a type.
|
| return Classification.TYPE_IDENTIFIER;
|
| }
|
| - if (token.stringValue === 'this' || token.stringValue === 'super') {
|
| + if (token.stringValue == 'this' || token.stringValue == 'super') {
|
| // Color "this" and "super" as identifiers.
|
| return Classification.SPECIAL_IDENTIFIER;
|
| }
|
|
|