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

Side by Side Diff: lib/runtime/dart/html.js

Issue 1680263002: Support for dart:typed_data (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Address comments, rebase Created 4 years, 10 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
« no previous file with comments | « lib/runtime/dart/convert.js ('k') | lib/runtime/dart/typed_data.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dart_library.library('dart/html', null, /* Imports */[ 1 dart_library.library('dart/html', null, /* Imports */[
2 'dart/_runtime', 2 'dart/_runtime',
3 'dart/math', 3 'dart/math',
4 'dart/core', 4 'dart/core',
5 'dart/_metadata', 5 'dart/_metadata',
6 'dart/_js_helper', 6 'dart/_js_helper',
7 'dart/collection', 7 'dart/collection',
8 'dart/async', 8 'dart/async',
9 'dart/_foreign_helper', 9 'dart/_foreign_helper',
10 'dart/isolate' 10 'dart/isolate'
(...skipping 5255 matching lines...) Expand 10 before | Expand all | Expand 10 after
5266 return value; 5266 return value;
5267 } 5267 }
5268 set length(newLength) { 5268 set length(newLength) {
5269 dart.throw(new core.UnsupportedError('Cannot resize element lists')); 5269 dart.throw(new core.UnsupportedError('Cannot resize element lists'));
5270 } 5270 }
5271 add(value) { 5271 add(value) {
5272 this[_element].append(value); 5272 this[_element].append(value);
5273 return value; 5273 return value;
5274 } 5274 }
5275 get iterator() { 5275 get iterator() {
5276 return this.toList()[dartx.iterator]; 5276 return this[dartx.toList]()[dartx.iterator];
5277 } 5277 }
5278 addAll(iterable) { 5278 addAll(iterable) {
5279 if (dart.is(iterable, _ChildNodeListLazy)) { 5279 if (dart.is(iterable, _ChildNodeListLazy)) {
5280 iterable = core.List$(Element).from(iterable); 5280 iterable = core.List$(Element).from(iterable);
5281 } 5281 }
5282 for (let element of iterable) { 5282 for (let element of iterable) {
5283 this[_element].append(element); 5283 this[_element].append(element);
5284 } 5284 }
5285 } 5285 }
5286 sort(compare) { 5286 sort(compare) {
(...skipping 7586 matching lines...) Expand 10 before | Expand all | Expand 10 after
12873 exports.ElementUpgrader = ElementUpgrader; 12873 exports.ElementUpgrader = ElementUpgrader;
12874 exports.NodeValidator = NodeValidator; 12874 exports.NodeValidator = NodeValidator;
12875 exports.NodeTreeSanitizer = NodeTreeSanitizer; 12875 exports.NodeTreeSanitizer = NodeTreeSanitizer;
12876 exports.UriPolicy = UriPolicy; 12876 exports.UriPolicy = UriPolicy;
12877 exports.spawnDomUri = spawnDomUri; 12877 exports.spawnDomUri = spawnDomUri;
12878 exports.unwrap_jso = unwrap_jso; 12878 exports.unwrap_jso = unwrap_jso;
12879 exports.wrap_jso = wrap_jso; 12879 exports.wrap_jso = wrap_jso;
12880 exports.createCustomUpgrader = createCustomUpgrader; 12880 exports.createCustomUpgrader = createCustomUpgrader;
12881 exports.getHtmlCreateFunction = getHtmlCreateFunction; 12881 exports.getHtmlCreateFunction = getHtmlCreateFunction;
12882 }); 12882 });
OLDNEW
« no previous file with comments | « lib/runtime/dart/convert.js ('k') | lib/runtime/dart/typed_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698