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

Unified Diff: pkg/js/example/README.md

Issue 1406093002: pkg/js: add link to example (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « pkg/js/README.md ('k') | pkg/js/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/js/example/README.md
diff --git a/pkg/js/example/README.md b/pkg/js/example/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..b5dd6fd0a78bdd5bab9775177b294210c02f435f
--- /dev/null
+++ b/pkg/js/example/README.md
@@ -0,0 +1,14 @@
+An example of using [Chart.js](aoeU).
+
+This example is ported from [this sample](https://github.com/nnnick/Chart.js/blob/b8691c9581bff0eeecb34f98e678dc045a18f33e/samples/line.html) in the `Chart.js` repository.
+
+To view the example, run `pub serve example` from the root directory of this project – the directory containing `pubspec.yaml`.
+
+```console
+> pub serve example
+Loading source assets...
+Serving js example on http://localhost:8080
+Build completed successfully
+```
+
+You can view it with Dartium or any other browser.
« no previous file with comments | « pkg/js/README.md ('k') | pkg/js/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698