| Index: lib/src/codegen/js_interop.dart
|
| diff --git a/lib/src/codegen/js_interop.dart b/lib/src/codegen/js_interop.dart
|
| index 4e9cbad9d367a8cd1b19acfa20549a45f25c12c1..1e6dff69bcbaa90cd632c7b5ae37d12a6e94c3ed 100644
|
| --- a/lib/src/codegen/js_interop.dart
|
| +++ b/lib/src/codegen/js_interop.dart
|
| @@ -24,8 +24,8 @@ bool isJsRestAnnotation(DartObjectImpl value) =>
|
| bool isJsSpreadInvocation(MethodInvocation i) =>
|
| _isJsLibType('spread', i.methodName?.bestElement);
|
|
|
| -// TODO(jmesserly): Move JsName, JsPeerInterface to package:js (see issue #135).
|
| -bool isJsNameAnnotation(DartObjectImpl value) => value.type.name == 'JsName';
|
| +// TODO(jmesserly): Move JsPeerInterface to package:js (see issue #135).
|
| +bool isJSAnnotation(DartObjectImpl value) => value.type.name == 'JS';
|
|
|
| bool isJsPeerInterface(DartObjectImpl value) =>
|
| value.type.name == 'JsPeerInterface';
|
|
|