| Index: frog/world.dart
|
| diff --git a/frog/world.dart b/frog/world.dart
|
| index e20bc1c22e76fbc95e3eacc1465b10a2d2357234..74f12a2dbd7881575d782570c09e76863f6354a0 100644
|
| --- a/frog/world.dart
|
| +++ b/frog/world.dart
|
| @@ -330,6 +330,11 @@ class World {
|
| 'class', 'enum', 'export', 'extends', 'import', 'super',
|
| 'implements', 'interface', 'let', 'package', 'private',
|
| 'protected', 'public', 'static', 'yield',
|
| + // Hack: we don't want Dart's String.split to overwrite the existing
|
| + // JS String.split method. By adding 'split' to the keyword-set we
|
| + // ensure that frog will not use the 'split' name but mangle it, thus
|
| + // leaving the original JS String.split untouched.
|
| + 'split',
|
| 'native']);
|
| }
|
| if (_jsKeywords.contains(name)) {
|
|
|