OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #library('js_helper'); | 5 #library('dart:_js_helper'); |
6 | 6 |
7 #import('coreimpl.dart'); | 7 #import('coreimpl.dart'); |
8 | 8 |
9 #source('constant_map.dart'); | 9 #source('constant_map.dart'); |
10 #source('native_helper.dart'); | 10 #source('native_helper.dart'); |
11 #source('regexp_helper.dart'); | 11 #source('regexp_helper.dart'); |
12 #source('string_helper.dart'); | 12 #source('string_helper.dart'); |
13 | 13 |
14 // Performance critical helper methods. | 14 // Performance critical helper methods. |
15 add(var a, var b) => (a is num && b is num) | 15 add(var a, var b) => (a is num && b is num) |
(...skipping 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1168 propertyTypeCastError(value, property); | 1168 propertyTypeCastError(value, property); |
1169 } | 1169 } |
1170 | 1170 |
1171 /** | 1171 /** |
1172 * Special interface recognized by the compiler and implemented by DOM | 1172 * Special interface recognized by the compiler and implemented by DOM |
1173 * objects that support integer indexing. This interface is not | 1173 * objects that support integer indexing. This interface is not |
1174 * visible to anyone, and is only injected into special libraries. | 1174 * visible to anyone, and is only injected into special libraries. |
1175 */ | 1175 */ |
1176 interface JavaScriptIndexingBehavior { | 1176 interface JavaScriptIndexingBehavior { |
1177 } | 1177 } |
OLD | NEW |