| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 // This file adheres to closure-compiler conventions in order to enable | 5 // This file adheres to closure-compiler conventions in order to enable |
| 6 // compilation with ADVANCED_OPTIMIZATIONS. In particular, members that are to | 6 // compilation with ADVANCED_OPTIMIZATIONS. In particular, members that are to |
| 7 // be accessed externally should be specified in this['style'] as opposed to | 7 // be accessed externally should be specified in this['style'] as opposed to |
| 8 // this.style because member identifiers are minified by default. | 8 // this.style because member identifiers are minified by default. |
| 9 // See http://goo.gl/FwOgy | 9 // See http://goo.gl/FwOgy |
| 10 | 10 |
| 11 goog.provide('__crWeb.base'); | 11 goog.provide('__crWeb.base'); |
| 12 | 12 |
| 13 // This object is checked on the main app to know when to inject (or not). | 13 // This object is checked on the main app to know when to inject (or not). |
| 14 window['__gCrWeb'] = {}; | 14 var __gCrWeb = {}; |
| 15 | 15 |
| 16 // Store __gCrWeb global namespace object referenced by a string, so it does not |
| 17 // get renamed by closure compiler during the minification. |
| 18 window['__gCrWeb'] = __gCrWeb; |
| 19 |
| OLD | NEW |