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

Side by Side Diff: tools/dom/templates/html/dart2js/factoryprovider_MutationObserver.darttemplate

Issue 11691009: Moved most of html lib generating scripts into tools. (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 static MutationObserver _create(MutationCallback callback) { 1 static MutationObserver _create(MutationCallback callback) {
2 // Dummy statement to mark types as instantiated. 2 // Dummy statement to mark types as instantiated.
3 JS('MutationObserver|MutationRecord', '0'); 3 JS('MutationObserver|MutationRecord', '0');
4 4
5 return JS('MutationObserver', 5 return JS('MutationObserver',
6 'new(window.MutationObserver||window.WebKitMutationObserver||' 6 'new(window.MutationObserver||window.WebKitMutationObserver||'
7 'window.MozMutationObserver)(#)', 7 'window.MozMutationObserver)(#)',
8 convertDartClosureToJS(callback, 2)); 8 convertDartClosureToJS(callback, 2));
9 } 9 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698