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

Unified Diff: tools/dom/docs/docs.json

Issue 13726010: Rename context2d to context2D. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « tests/html/url_test.dart ('k') | tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/docs/docs.json
diff --git a/tools/dom/docs/docs.json b/tools/dom/docs/docs.json
index 568e824d90007331ca2915773f60b1032a8e19c8..ae6277b284da05460d8458d051bca89bc45dd975 100644
--- a/tools/dom/docs/docs.json
+++ b/tools/dom/docs/docs.json
@@ -11,7 +11,7 @@
" * Example usage:",
" *",
" * var canvas = new CanvasElement(width: 600, height: 600);",
- " * var ctx = canvas.context2d;",
+ " * var ctx = canvas.context2D;",
" * ctx.clearRect(0, 0, 600, 600);",
" * ctx.save();",
" * // Create radial gradient.",
@@ -56,7 +56,7 @@
" * Example usage:",
" *",
" * var canvas = new CanvasElement(width: 600, height: 600);",
- " * var ctx = canvas.context2d;",
+ " * var ctx = canvas.context2D;",
" * var img = new ImageElement();",
" * // Image src needs to be loaded before pattern is applied.",
" * img.onLoad.listen((event) {",
@@ -232,7 +232,7 @@
" * Example usage:",
" *",
" * CanvasElement canvas = new CanvasElement();",
- " * var ctx = canvas.context2d",
+ " * var ctx = canvas.context2D",
" * ..fillStyle = \"rgb(200,0,0)\"",
" * ..fillRect(10, 10, 55, 50);",
" * var dataUrl = canvas.toDataURL(\"image/jpeg\", 0.95);",
« no previous file with comments | « tests/html/url_test.dart ('k') | tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698