Commit Graph

2 Commits

Author SHA1 Message Date
vsm@google.com a81a6fcce6 RFC: introduce dart:js
This is a port of js-interop with an optimized dart2js compilation.
It also gets rid of noSuchMethod.
I also made some renamings inspired by https://github.com/dart-lang/js-interop/issues/68

BUG=
R=vsm@google.com

Review URL: https://codereview.chromium.org//15782009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25018 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 19:44:44 +00:00
vsm@google.com 609c1239d5 Move interop js code out of dart.js
BUG=7973

Note: this is a breaking change and would be advertised as such.
Anyone using js-interop would need to explicitly include:

<script type="text/javascript" "pkg/browser/lib/interop.js"></script>

along with dart.js in their HTML.  Those who don't need js-interop can
save on this code.

Alexandre: I'm imagining interop.js would be the landing spot for
dart:js bootstrap code as well.

R=alexandre.ardhuin@gmail.com, dgrove@google.com

Review URL: https://codereview.chromium.org//16592002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23855 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 15:33:18 +00:00