Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Side by Side Diff: lib/src/static.dart

Issue 615913004: Add @jsify annotation. Support automatically proxying Lists and Maps to Dart in Proxies. Support co… (Closed) Base URL: https://github.com/dart-lang/js-interop.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library js.static; 1 library js.static;
2 2
3 // This is the public interface of js.dart 3 // This is the public interface of js.dart
4 // The exports must match those in static.dart 4 // The exports must match those in static.dart
5 export 'package:js/src/js_impl.dart'; 5 export 'package:js/src/js_impl.dart' show JsInterface, JsGlobal, toJs, toDart,
6 registerJsConstructorForType, registerFactoryForJsConstructor;
6 export 'dart:js' show JsObject; 7 export 'dart:js' show JsObject;
7 export 'package:js/src/metadata.dart'; 8 export 'package:js/src/metadata.dart';
8 9
9 void initializeJavaScript() { 10 void initializeJavaScript() {
10 throw new StateError("Non-transformed initialization is being called. " 11 throw new StateError("Non-transformed initialization is being called. "
11 "You are using js.dart in deployed mode, but you probably haven't " 12 "You are using js.dart in deployed mode, but you probably haven't "
12 "configured the initializer transformer, or you are calling " 13 "configured the initializer transformer, or you are calling "
13 "initializeJavaScript() somewhere other than main(). " 14 "initializeJavaScript() somewhere other than main(). "
14 "Try adding '- js/initializer' to your applications transformers."); 15 "Try adding '- js/initializer' to your applications transformers.");
15 } 16 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698