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

Side by Side Diff: tools/dom/templates/html/dart2js/factoryprovider_DataView.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 DataView _create(ArrayBuffer buffer, [int byteOffset = null, int byteLe ngth = null]) { 1 static DataView _create(ArrayBuffer buffer, [int byteOffset = null, int byteLe ngth = null]) {
2 if (byteOffset == null) { 2 if (byteOffset == null) {
3 return JS('DataView', 'new DataView(#)', buffer); 3 return JS('DataView', 'new DataView(#)', buffer);
4 } 4 }
5 if (byteLength == null) { 5 if (byteLength == null) {
6 return JS('DataView', 'new DataView(#,#)', buffer, byteOffset); 6 return JS('DataView', 'new DataView(#,#)', buffer, byteOffset);
7 } 7 }
8 return JS('DataView', 'new DataView(#,#,#)', buffer, byteOffset, byteLength) ; 8 return JS('DataView', 'new DataView(#,#,#)', buffer, byteOffset, byteLength) ;
9 } 9 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698