OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 Window secretWindow; | |
6 Document secretDocument; | |
7 | |
8 Window get window() { | |
9 if (secretWindow === null) { | |
10 LevelDom.initialize(); | |
11 } | |
12 return secretWindow; | |
13 } | |
14 | |
15 Document get document() { | |
16 if (secretWindow === null) { | |
17 LevelDom.initialize(); | |
18 } | |
19 return secretDocument; | |
20 } | |
OLD | NEW |