|email@example.com <firstname.lastname@example.org>||Fri Feb 28 23:26:20 2014 +0000|
|email@example.com <firstname.lastname@example.org>||Fri Feb 28 23:26:20 2014 +0000|
[smoke] add homepage field to pubspec [browser] use "author" instead of "authors" (the latter expects a list, I think) Remail@example.com Review URL: https://codereview.chromium.org//184863006 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33180 260f80e4-7a28-3924-810f-c04153c831b5
This package contains dart.js, and previously contained interop.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 our repository. This doesn’t work offline and also results in slower startup (see dartbug.com/6723).
Instead, we now recommend that you install dart.js via the following steps:
Add the following to your pubspec.yaml: dependencies: browser: any
Run pub install.
Use a relative script tag in your html to the installed version:
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.
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: