Index: tools/dom/docs/docs.json |
diff --git a/tools/dom/docs/docs.json b/tools/dom/docs/docs.json |
index 1cf29dd54779e24322a5a16414cfab6cfe0093ab..062948f3e5b2764cfba8169c7c97914d34977170 100644 |
--- a/tools/dom/docs/docs.json |
+++ b/tools/dom/docs/docs.json |
@@ -12,7 +12,7 @@ |
}, |
"CanvasPattern": { |
"comment": [ |
- "/**\n * An opaque object representing a pattern of image, canvas, or video.\n *\n * Created by calling [createPattern] on a [CanvasRenderingContext2D] object.\n *\n * Example usage:\n *\n * var canvas = new CanvasElement(width: 600, height: 600);\n * var ctx = canvas.context2d;\n * var img = new ImageElement();\n * // Image src needs to be loaded before pattern is applied.\n * img.on.load.add((event) {\n * // When the image is loaded, create a pattern\n * // from the ImageElement.\n * CanvasPattern pattern = ctx.createPattern(img, 'repeat');\n * ctx.rect(0, 0, canvas.width, canvas.height);\n * ctx.fillStyle = pattern;\n * ctx.fill();\n * });\n * img.src = \"images/foo.jpg\";\n * document.body.children.add(canvas);\n *\n * See also:\n * * [CanvasPattern](https://developer.mozilla.org/en-US/docs/DOM/CanvasPattern) from MDN.\n * * [CanvasPattern](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#canvaspattern) from whatwg.\n * * [CanvasPattern](http://www.w3.org/TR/2010/WD-2dcontext-20100304/#canvaspattern) from W3C.\n */" |
+ "/**\n * An opaque object representing a pattern of image, canvas, or video.\n *\n * Created by calling [createPattern] on a [CanvasRenderingContext2D] object.\n *\n * Example usage:\n *\n * var canvas = new CanvasElement(width: 600, height: 600);\n * var ctx = canvas.context2d;\n * var img = new ImageElement();\n * // Image src needs to be loaded before pattern is applied.\n * img.onLoad.listen((event) {\n * // When the image is loaded, create a pattern\n * // from the ImageElement.\n * CanvasPattern pattern = ctx.createPattern(img, 'repeat');\n * ctx.rect(0, 0, canvas.width, canvas.height);\n * ctx.fillStyle = pattern;\n * ctx.fill();\n * });\n * img.src = \"images/foo.jpg\";\n * document.body.children.add(canvas);\n *\n * See also:\n * * [CanvasPattern](https://developer.mozilla.org/en-US/docs/DOM/CanvasPattern) from MDN.\n * * [CanvasPattern](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#canvaspattern) from whatwg.\n * * [CanvasPattern](http://www.w3.org/TR/2010/WD-2dcontext-20100304/#canvaspattern) from W3C.\n */" |
] |
}, |
"CanvasRenderingContext": { |
@@ -39,4 +39,4 @@ |
} |
} |
} |
-} |
+} |