Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: client/html/src/GlobalProperties.dart

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/html/src/ElementWrappingImplementation.dart ('k') | client/html/src/Measurement.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 var secretWindow; 5 Window secretWindow;
6 var secretDocument; 6 Document secretDocument;
7 7
8 Window get window() { 8 Window get window() {
9 if (secretWindow === null) { 9 if (secretWindow === null) {
10 LevelDom.initialize(dom.window); 10 LevelDom.initialize();
11 } 11 }
12 return secretWindow; 12 return secretWindow;
13 } 13 }
14 14
15 Document get document() { 15 Document get document() {
16 if (secretWindow === null) { 16 if (secretWindow === null) {
17 LevelDom.initialize(dom.window); 17 LevelDom.initialize();
18 } 18 }
19 return secretDocument; 19 return secretDocument;
20 } 20 }
OLDNEW
« no previous file with comments | « client/html/src/ElementWrappingImplementation.dart ('k') | client/html/src/Measurement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698