-
Notifications
You must be signed in to change notification settings - Fork 26
JsName and other metadata needs to live somewhere #135
Comments
the most obvious place to put it now would be package:dev_compiler. It's a place, that we can add to, and works for testing/examples until we find something better. [edit: emphasis] |
Otherwise, everyone needs to copy+paste JsName, that seems bad right? |
dart:js might probably the right place once it's stable. Or just skip it and use package:js, since not sure it would need to be in dart: |
dart:js seems pretty reasonable although I can also see the case for |
agreed, dev_compiler would be a temporary place. |
Noobie question: can we use the annotation before the import and still get the right element?
(here the annotation seems to have a type which lib is |
Yep you can use the annotation before the import. We rely on that all the On Thu, Oct 29, 2015 at 9:13 AM, Olivier Chafik [email protected]
|
Note: need new package:js release before merging this in (dart-lang/sdk#24623). Maybe it's time to think again about sneaking JsName + JsPeerInterface into it? (#135) BUG=#310 [email protected] Review URL: https://codereview.chromium.org/1424133007 .
Think the work here is done. Annotations found a good home. |
Note: need new package:js release before merging this in (#24623). Maybe it's time to think again about sneaking JsName + JsPeerInterface into it? (dart-archive/dev_compiler#135) BUG=dart-archive/dev_compiler#310 [email protected] Review URL: https://codereview.chromium.org/1424133007 .
Either in a package or in a SDK library.
The text was updated successfully, but these errors were encountered: