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

Side by Side Diff: utils/apidoc/mdn/extract.dart

Issue 10389097: Move dart:dom to dart:dom_deprecated (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes from review Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « utils/apidoc/html_diff_dump.dart ('k') | utils/tip/froggertest.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #import ("dart:html"); 1 #import ("dart:html");
2 #import ("dart:dom", prefix:"dom"); 2 #import ("dart:dom_deprecated", prefix:"dom");
3 #import ("dart:json"); 3 #import ("dart:json");
4 4
5 // Workaround for HTML lib missing feature. 5 // Workaround for HTML lib missing feature.
6 Range newRange() { 6 Range newRange() {
7 return LevelDom.wrapRange(dom.document.createRange()); 7 return LevelDom.wrapRange(dom.document.createRange());
8 } 8 }
9 9
10 // Temporary range object to optimize performance computing client rects 10 // Temporary range object to optimize performance computing client rects
11 // from text nodes. 11 // from text nodes.
12 Range _tempRange; 12 Range _tempRange;
(...skipping 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 1308
1309 void documentLoaded(event) { 1309 void documentLoaded(event) {
1310 // Load the database of expected methods and properties with an 1310 // Load the database of expected methods and properties with an
1311 // XMLHttpRequest. 1311 // XMLHttpRequest.
1312 new XMLHttpRequest.get('${window.location}.json', (req) { 1312 new XMLHttpRequest.get('${window.location}.json', (req) {
1313 data = JSON.parse(req.responseText); 1313 data = JSON.parse(req.responseText);
1314 dbEntry = {'members': [], 'srcUrl': pageUrl}; 1314 dbEntry = {'members': [], 'srcUrl': pageUrl};
1315 run(); 1315 run();
1316 }); 1316 });
1317 } 1317 }
OLDNEW
« no previous file with comments | « utils/apidoc/html_diff_dump.dart ('k') | utils/tip/froggertest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698