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

Side by Side Diff: tools/dom/docs/docs.json

Issue 62023002: Updated some more documentation to be more clear. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "dart.dom.html": { 2 "dart.dom.html": {
3 "AbstractWorker": { 3 "AbstractWorker": {
4 "members": { 4 "members": {
5 "errorEvent": [ 5 "errorEvent": [
6 "/**", 6 "/**",
7 " * Static factory designed to expose `error` events to event", 7 " * Static factory designed to expose `error` events to event",
8 " * handlers that are not necessarily instances of [AbstractWorker]. ", 8 " * handlers that are not necessarily instances of [AbstractWorker]. ",
9 " *", 9 " *",
10 " * See [EventStreamProvider] for usage information.", 10 " * See [EventStreamProvider] for usage information.",
(...skipping 2890 matching lines...) Expand 10 before | Expand all | Expand 10 after
2901 " */" 2901 " */"
2902 ] 2902 ]
2903 } 2903 }
2904 }, 2904 },
2905 "Window": { 2905 "Window": {
2906 "comment": [ 2906 "comment": [
2907 "/**", 2907 "/**",
2908 " * Top-level container for the current browser tab or window.", 2908 " * Top-level container for the current browser tab or window.",
2909 " *", 2909 " *",
2910 " * In a web browser, each window has a [Window] object, but within the context", 2910 " * In a web browser, each window has a [Window] object, but within the context",
2911 " * of a script, a [Window] object represents only the current window. I n", 2911 " * of a script, this object represents only the current window.",
2912 " * addition to the open window, each window, tab, and iframe has its ow n", 2912 " * Each other window, tab, and iframe has its own [Window] object.",
2913 " * [Window] object. A [Window] contains a [Document] object, which cont ains this",
2914 " * web page's content.",
2915 " *", 2913 " *",
2916 " * Use `window` to access properties of the current window. For example :", 2914 " * Each window contains a [Document] object, which contains all of the window's",
2915 " * content.",
2916 " *",
2917 " * Use the top-level `window` object to access the current window.",
2918 " * For example:",
2917 " *", 2919 " *",
2918 " * // Draw a scene when the window repaints.", 2920 " * // Draw a scene when the window repaints.",
2919 " * drawScene(num delta) {...}", 2921 " * drawScene(num delta) {...}",
2920 " * window.animationFrame.then(drawScene);.", 2922 " * window.animationFrame.then(drawScene);.",
2921 " *", 2923 " *",
2922 " * // Write to the console.", 2924 " * // Write to the console.",
2923 " * window.console.log('Jinkies!');", 2925 " * window.console.log('Jinkies!');",
2924 " * window.console.error('Jeepers!');", 2926 " * window.console.error('Jeepers!');",
2925 " *", 2927 " *",
2926 " * **Note:** This class represents the current window, whereas [WindowB ase] is", 2928 " * **Note:** This class represents only the current window, while [Wind owBase]",
2927 " * a representation of any window, including other tabs, windows, and f rames.", 2929 " * is a representation of any window, including other tabs, windows, an d frames.",
2930 " *",
2931 " * ## See also",
2932 " *",
2933 " * [WindowBase]",
2928 " *", 2934 " *",
2929 " * ## Other resources", 2935 " * ## Other resources",
2930 " *", 2936 " *",
2931 " * * [DOM Window](https://developer.mozilla.org/en-US/docs/DOM/window) from MDN.", 2937 " * * [DOM Window](https://developer.mozilla.org/en-US/docs/DOM/window) from MDN.",
2932 " * * [Window](http://www.w3.org/TR/Window/) from the W3C.", 2938 " * * [Window](http://www.w3.org/TR/Window/) from the W3C.",
2933 " */" 2939 " */"
2934 ], 2940 ],
2935 "members": { 2941 "members": {
2936 "devicemotionEvent": [ 2942 "devicemotionEvent": [
2937 "/**", 2943 "/**",
(...skipping 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after
4319 " *", 4325 " *",
4320 " * [oldVersion] should match the database's current [version] exact ly.", 4326 " * [oldVersion] should match the database's current [version] exact ly.",
4321 " *", 4327 " *",
4322 " * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom -database-changeversion) from W3C.", 4328 " * * [Database.changeVersion](http://www.w3.org/TR/webdatabase/#dom -database-changeversion) from W3C.",
4323 " */" 4329 " */"
4324 ] 4330 ]
4325 } 4331 }
4326 } 4332 }
4327 } 4333 }
4328 } 4334 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698