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

Side by Side Diff: tools/dom/templates/html/impl/impl_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 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of html; 5 part of html;
6 6
7 /// @domName $DOMNAME 7 /// @domName $DOMNAME
8 @SupportedBrowser(SupportedBrowser.CHROME) 8 @SupportedBrowser(SupportedBrowser.CHROME)
9 @SupportedBrowser(SupportedBrowser.FIREFOX) 9 @SupportedBrowser(SupportedBrowser.FIREFOX)
10 @SupportedBrowser(SupportedBrowser.SAFARI) 10 @SupportedBrowser(SupportedBrowser.SAFARI)
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 $if DART2JS 90 $if DART2JS
91 static _createDict() => JS('var', '{}'); 91 static _createDict() => JS('var', '{}');
92 static _add(m, String key, value) { JS('void', '#[#] = #', m, key, value); } 92 static _add(m, String key, value) { JS('void', '#[#] = #', m, key, value); }
93 static _fixupList(list) => list; // TODO: Ensure is a JavaScript Array. 93 static _fixupList(list) => list; // TODO: Ensure is a JavaScript Array.
94 94
95 // Call native function with no conversions. 95 // Call native function with no conversions.
96 @JSName('observe') 96 @JSName('observe')
97 void _call(target, options) native; 97 void _call(target, options) native;
98 $endif 98 $endif
99 } 99 }
OLDNEW
« no previous file with comments | « tools/dom/templates/html/impl/impl_IDBKeyRange.darttemplate ('k') | tools/dom/templates/html/impl/impl_Node.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698