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

Unified Diff: lib/runtime/dart/typed_data.js

Issue 1034273003: fix for static methods and names banned in strict mode (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/runtime/dart/math.js ('k') | lib/runtime/dart_core.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/typed_data.js
diff --git a/lib/runtime/dart/typed_data.js b/lib/runtime/dart/typed_data.js
index e724ce86d0efeb4e828074c7dbdd85161ba1d00b..cc4d3ff1920f793b1bd874b110834cfb8fae3284 100644
--- a/lib/runtime/dart/typed_data.js
+++ b/lib/runtime/dart/typed_data.js
@@ -6,12 +6,13 @@ var typed_data;
class TypedData extends core.Object {
}
let _littleEndian = Symbol('_littleEndian');
+ let _ = Symbol('_');
class Endianness extends core.Object {
Endianness$_(littleEndian) {
this[_littleEndian] = littleEndian;
}
}
- dart.defineNamedConstructor(Endianness, '_');
+ dart.defineNamedConstructor(Endianness, _);
Endianness.BIG_ENDIAN = new Endianness._(false);
Endianness.LITTLE_ENDIAN = new Endianness._(true);
dart.defineLazyProperties(Endianness, {
« no previous file with comments | « lib/runtime/dart/math.js ('k') | lib/runtime/dart_core.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698