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

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

Issue 1182653002: Refactor runtime into libraries, better type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Eliminate top level libraries from loader Created 5 years, 6 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
OLDNEW
1 dart.library('dart/typed_data', null, /* Imports */[ 1 loader.library('dart/typed_data', null, /* Imports */[
2 "dart/dart_runtime",
3 "dart/dartx",
2 'dart/core' 4 'dart/core'
3 ], /* Lazy imports */[ 5 ], /* Lazy imports */[
4 'dart/_native_typed_data' 6 'dart/_native_typed_data'
5 ], function(exports, core, _native_typed_data) { 7 ], function(exports, dart, dartx, core, _native_typed_data) {
6 'use strict'; 8 'use strict';
7 class ByteBuffer extends core.Object {} 9 class ByteBuffer extends core.Object {}
8 class TypedData extends core.Object {} 10 class TypedData extends core.Object {}
9 let _littleEndian = Symbol('_littleEndian'); 11 let _littleEndian = Symbol('_littleEndian');
10 class Endianness extends core.Object { 12 class Endianness extends core.Object {
11 _(littleEndian) { 13 _(littleEndian) {
12 this[_littleEndian] = littleEndian; 14 this[_littleEndian] = littleEndian;
13 } 15 }
14 } 16 }
15 dart.defineNamedConstructor(Endianness, '_'); 17 dart.defineNamedConstructor(Endianness, '_');
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 exports.Uint64List = Uint64List; 974 exports.Uint64List = Uint64List;
973 exports.Float32List = Float32List; 975 exports.Float32List = Float32List;
974 exports.Float64List = Float64List; 976 exports.Float64List = Float64List;
975 exports.Float32x4List = Float32x4List; 977 exports.Float32x4List = Float32x4List;
976 exports.Int32x4List = Int32x4List; 978 exports.Int32x4List = Int32x4List;
977 exports.Float64x2List = Float64x2List; 979 exports.Float64x2List = Float64x2List;
978 exports.Float32x4 = Float32x4; 980 exports.Float32x4 = Float32x4;
979 exports.Int32x4 = Int32x4; 981 exports.Int32x4 = Int32x4;
980 exports.Float64x2 = Float64x2; 982 exports.Float64x2 = Float64x2;
981 }); 983 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698