| 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('core'); | 5 #library('core'); |
| 6 | 6 |
| 7 #import('coreimpl.dart'); | 7 #import('coreimpl.dart'); |
| 8 | 8 |
| 9 #import('js_helper.dart'); // TODO(ahe): remove this import. | 9 #import('js_helper.dart'); // TODO(ahe): remove this import. |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 // #source('../../../corelib/src/list.dart'); | 26 // #source('../../../corelib/src/list.dart'); |
| 27 #source('../../../corelib/src/map.dart'); | 27 #source('../../../corelib/src/map.dart'); |
| 28 #source('../../../corelib/src/math.dart'); | 28 #source('../../../corelib/src/math.dart'); |
| 29 #source('../../../corelib/src/num.dart'); | 29 #source('../../../corelib/src/num.dart'); |
| 30 #source('../../../corelib/src/options.dart'); | 30 #source('../../../corelib/src/options.dart'); |
| 31 #source('../../../corelib/src/pattern.dart'); | 31 #source('../../../corelib/src/pattern.dart'); |
| 32 #source('../../../corelib/src/promise.dart'); | 32 #source('../../../corelib/src/promise.dart'); |
| 33 #source('../../../corelib/src/queue.dart'); | 33 #source('../../../corelib/src/queue.dart'); |
| 34 #source('../../../corelib/src/regexp.dart'); | 34 #source('../../../corelib/src/regexp.dart'); |
| 35 #source('../../../corelib/src/set.dart'); | 35 #source('../../../corelib/src/set.dart'); |
| 36 // #source('../../../corelib/src/stopwatch.dart'); | 36 #source('../../../corelib/src/stopwatch.dart'); |
| 37 #source('../../../corelib/src/string.dart'); | 37 #source('../../../corelib/src/string.dart'); |
| 38 #source('../../../corelib/src/string_buffer.dart'); | 38 #source('../../../corelib/src/string_buffer.dart'); |
| 39 #source('../../../corelib/src/strings.dart'); | 39 #source('../../../corelib/src/strings.dart'); |
| 40 #source('../../../corelib/src/time_zone.dart'); | 40 #source('../../../corelib/src/time_zone.dart'); |
| 41 #source('mock.dart'); | 41 #source('mock.dart'); |
| 42 | 42 |
| 43 void print(var obj) => Primitives.printString(obj.toString()); | 43 void print(var obj) => Primitives.printString(obj.toString()); |
| 44 | 44 |
| 45 class Object { | 45 class Object { |
| 46 String toString() => Primitives.objectToString(this); | 46 String toString() => Primitives.objectToString(this); |
| 47 | 47 |
| 48 void noSuchMethod(String name, List args) { | 48 void noSuchMethod(String name, List args) { |
| 49 throw new NoSuchMethodException(this, name, args); | 49 throw new NoSuchMethodException(this, name, args); |
| 50 } | 50 } |
| 51 } | 51 } |
| OLD | NEW |