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);", |