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

Unified Diff: pkg/browser/README.md

Issue 164913007: remove pkg/browser/lib/interop.js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/browser/lib/interop.js » ('j') | sdk/lib/js/dart2js/js_dart2js.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/browser/README.md
diff --git a/pkg/browser/README.md b/pkg/browser/README.md
index 32c736c0c6a55a603f454fa75b89446c08e5f69a..fa968513d98e59bf061ff5aad36a4ffe5b5b70d0 100644
--- a/pkg/browser/README.md
+++ b/pkg/browser/README.md
@@ -1,3 +1,8 @@
+This package contains dart.js, and previously contained interop.js
+
+dart.js
+=======
+
The dart.js file is used in Dart browser apps to check for native Dart support
and either (a) bootstrap Dartium or (b) load compiled JS instead. Previously,
we've recommended that you add a script tag pointing the version of dart.js in
@@ -20,3 +25,15 @@ If you do not wish to use pub, you may host a copy of this file locally instead.
In this case, you will need to update it yourself as necessary. We reserve the
right to move the old file in the repository, so we no longer recommend linking
to it directly.
+
+interop.js
+==========
+
+This script was required for dart:js interop to work, but it is no longer
+needed. The functionality is now supported by dart:js directly.
+
+If you previously had a script such as this, please remove it:
+
+```html
+<script src="packages/browser/interop.js"></script>
+```
« no previous file with comments | « no previous file | pkg/browser/lib/interop.js » ('j') | sdk/lib/js/dart2js/js_dart2js.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698