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

Side by Side Diff: pkg/browser/README.md

Issue 12212138: Added a readme to the browser package, so people know what's up. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 The dart.js file is used in Dart browser apps to check for native Dart support
2 and either (a) bootstrap Dartium or (b) load compiled JS instead. Previously,
3 we've recommended that you add a script tag pointing the version of dart.js in
4 our repository. This doesn't work offline and also results in slower startup
5 (see [dartbug.com/6723](http://dartbug.com/6723)).
6
7 Instead, we now recommend that you install dart.js via the following steps:
8
9 1. Add the following to your pubspec.yaml:
10 dependencies:
11 browser: any
12
13 2. Run pub install.
14
15 3. Use a relative script tag in your html to the installed version:
16
17 `<script src="packages/browser/dart.js"></script>`
18
19 If you do not wish to use pub, you may host a copy of this file locally instead.
20 In this case, you will need to update it yourself as necessary. We reserve the
21 right to move the old file in the repository, so we no longer recommend linking
22 to it directly.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698