OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 var Galore = Galore || {}; | 5 var Galore = Galore || {}; |
6 | 6 |
7 Galore.view = { | 7 Galore.view = { |
8 create: function(onLoad) { | 8 create: function(onLoad) { |
9 var view = Object.create(this); | 9 var view = Object.create(this); |
10 chrome.app.window.create('window.html', { | 10 chrome.app.window.create('window.html', { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 /** @private */ | 83 /** @private */ |
84 element_: function(selector) { | 84 element_: function(selector) { |
85 return this.window.document.querySelector(selector) | 85 return this.window.document.querySelector(selector) |
86 }, | 86 }, |
87 | 87 |
88 /** @private */ | 88 /** @private */ |
89 elements_: function(selector) { | 89 elements_: function(selector) { |
90 return this.window.document.querySelectorAll(selector) | 90 return this.window.document.querySelectorAll(selector) |
91 } | 91 } |
92 }; | 92 }; |
OLD | NEW |