Index: pkg/js/example/index.html |
diff --git a/pkg/js/example/index.html b/pkg/js/example/index.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5712e6d14e150de56968ce6b6375ae2c77c90001 |
--- /dev/null |
+++ b/pkg/js/example/index.html |
@@ -0,0 +1,14 @@ |
+<!doctype html> |
+<html> |
+ <head> |
+ <title>Chart.js and Dart interop example</title> |
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/1.0.2/Chart.js"></script> |
+ <script type="application/dart" src="chart_js_example.dart"></script> |
+ <script src="packages/browser/dart.js"></script> |
+ </head> |
+ <body> |
+ <div style="margin: 20px;"> |
+ <canvas id="canvas" height="450" width="600"></canvas> |
+ </div> |
+ </body> |
+</html> |