OLD | NEW |
1 // Common declarations. | 1 // Common declarations. |
2 | 2 |
3 interface Acceleration {} | 3 interface Acceleration {} |
4 | 4 |
5 interface CompareHow {} | 5 interface CompareHow {} |
6 | 6 |
7 typedef void EventListener(Event event); | 7 typedef void EventListener(Event event); |
8 | 8 |
9 interface MediaQueryListListener {} | 9 interface MediaQueryListListener {} |
10 | 10 |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 } | 553 } |
554 | 554 |
555 // FIXME: remove when prefix is working in the VM. | 555 // FIXME: remove when prefix is working in the VM. |
556 Window get dom_window() { | 556 Window get dom_window() { |
557 return window; | 557 return window; |
558 } | 558 } |
559 | 559 |
560 Document get document() { | 560 Document get document() { |
561 return window.document; | 561 return window.document; |
562 } | 562 } |
563 | |
564 // FIXME(antonm): should be implemented in core lib. | |
565 void print(arg) { | |
566 window.console.log(arg.toString()); | |
567 } | |
OLD | NEW |