| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 // DO NOT EDIT | 5 // DO NOT EDIT |
| 6 // Auto-generated Dart DOM library. | 6 // Auto-generated Dart DOM library. |
| 7 | 7 |
| 8 #library("dom"); | 8 #library("dom"); |
| 9 #native("frog_dom.js"); | 9 #native("frog_dom.js"); |
| 10 | 10 |
| 11 $!GENERATED_DART_FILES | 11 $!GENERATED_DART_FILES |
| 12 #source('src/EventListener.dart'); | 12 #source('src/EventListener.dart'); |
| 13 #source('src/RequestAnimationFrameCallback.dart'); | 13 #source('src/RequestAnimationFrameCallback.dart'); |
| 14 #source('src/TimeoutHandler.dart'); | 14 #source('src/TimeoutHandler.dart'); |
| 15 | 15 |
| 16 class Window extends DOMWindow {} | 16 class Window extends DOMWindow {} |
| 17 Window window; | 17 DOMWindow get window() native "return window;"; |
| 18 HTMLDocument get document() => window.document; | 18 // TODO(vsm): Revert to Dart method when 508 is fixed. |
| 19 HTMLDocument get document() native "return window.document;"; |
| OLD | NEW |