browser 0.9.0

  • README.md
  • Installing
  • Versions
  • --

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:

  1. Add the following to your pubspec.yaml: dependencies: browser: any

  2. Run pub install.

  3. Use a relative script tag in your html to the installed version:

    <script src="packages/browser/dart.js"></script>

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.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  browser: ^0.9.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

Version Uploaded Documentation Archive
0.10.0+3 Mar 15, 2018 Go to the documentation of browser 0.10.0+3 Download browser 0.10.0+3 archive
0.10.0+2 Mar 18, 2014 Go to the documentation of browser 0.10.0+2 Download browser 0.10.0+2 archive
0.10.0+1 Mar 18, 2014 Go to the documentation of browser 0.10.0+1 Download browser 0.10.0+1 archive
0.10.0 Feb 28, 2014 Go to the documentation of browser 0.10.0 Download browser 0.10.0 archive
0.9.1 Jan 2, 2014 Go to the documentation of browser 0.9.1 Download browser 0.9.1 archive
0.9.0 Nov 6, 2013 Go to the documentation of browser 0.9.0 Download browser 0.9.0 archive
0.8.10+4 Nov 5, 2013 Go to the documentation of browser 0.8.10+4 Download browser 0.8.10+4 archive
0.8.10+3 Nov 4, 2013 Go to the documentation of browser 0.8.10+3 Download browser 0.8.10+3 archive
0.8.10 Nov 1, 2013 Go to the documentation of browser 0.8.10 Download browser 0.8.10 archive
0.8.9 Oct 31, 2013 Go to the documentation of browser 0.8.9 Download browser 0.8.9 archive

All 76 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
--
Health:
Code health derived from static analysis. [more]
--
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
--
Overall:
Weighted score of the above. [more]
--
Learn more about scoring.

This package is not analyzed, because it is discontinued.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=0.8.10+6 <2.0.0