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

Unified Diff: pkg/js/example/chart.dart

Issue 1417963002: pkg/js: update version, example, and SDK constraint for annotation change (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 | « no previous file | 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/chart.dart
diff --git a/pkg/js/example/chart.dart b/pkg/js/example/chart.dart
index 37667144295b42d2daf624fba07cca4a494dc519..6ee1f735f22302a483872df5e6aabfe4f004878b 100644
--- a/pkg/js/example/chart.dart
+++ b/pkg/js/example/chart.dart
@@ -7,14 +7,14 @@ library chart;
import 'dart:html';
import 'package:js/js.dart';
-@Js()
+@JS()
class Chart {
external Chart(CanvasRenderingContext2D ctx);
external dynamic Line(Data data, Options options);
}
-@Js()
+@JS()
class Data {
external List get labels;
external List<DataSet> get datasets;
@@ -25,7 +25,7 @@ class Data {
/// Minimal implementation of dataset for line chart
///
/// http://www.chartjs.org/docs/#line-chart-data-structure
-@Js()
+@JS()
class DataSet {
external String get label;
external String get fillColor;
@@ -51,7 +51,7 @@ class DataSet {
/// Minimal implementation of options
///
/// http://www.chartjs.org/docs/#getting-started-global-chart-configuration
-@Js()
+@JS()
class Options {
external bool get responsive;
« no previous file with comments | « no previous file | pkg/js/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698