| 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 21 matching lines...) Expand all Loading... |
| 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 #source('clock.dart'); |
| 42 | 43 |
| 43 void print(var obj) => Primitives.printString(obj.toString()); | 44 void print(var obj) => Primitives.printString(obj.toString()); |
| 44 | 45 |
| 45 class Object { | 46 class Object { |
| 46 String toString() => Primitives.objectToString(this); | 47 String toString() => Primitives.objectToString(this); |
| 47 | 48 |
| 48 void noSuchMethod(String name, List args) { | 49 void noSuchMethod(String name, List args) { |
| 49 throw new NoSuchMethodException(this, name, args); | 50 throw new NoSuchMethodException(this, name, args); |
| 50 } | 51 } |
| 51 } | 52 } |
| OLD | NEW |