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

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

Issue 12087112: Can now correctly add documentation to constructors. (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 a772b84da8ec4946bee0d6b0ffcfd5e39ccb2feb..6ff8db45e094cfcf605029d34be17d91356e0384 100644
--- a/tools/dom/docs/docs.json
+++ b/tools/dom/docs/docs.json
@@ -210,6 +210,25 @@
"/// The width of this canvas element in CSS pixels."
]
}
+ },
+ "XMLHttpRequest": {
+ "members": {
+ "XMLHttpRequest": [
+ "/**",
+ " * General constructor for any type of request (GET, POST, etc).",
+ " *",
+ " * This call is used in conjunction with [open]:",
+ " *",
+ " * var request = new HttpRequest();",
+ " * request.open('GET', 'http://dartlang.org')",
+ " * request.on.load.add((event) => print('Request complete'));",
+ " *",
+ " * is the (more verbose) equivalent of",
+ " *",
+ " * var request = new HttpRequest.get('http://dartlang.org', (event) => print('Request complete'));",
+ " */"
+ ]
+ }
}
}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698