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

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

Issue 12040059: Converting tests over to using event streams. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
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 @@
}
}
}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698