Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 module contains constants used in extensionview. | 5 // This module contains constants used in extensionview. |
| 6 | 6 |
| 7 // Container for the extensionview constants. | 7 // Container for the extensionview constants. |
| 8 var ExtensionViewConstants = { | 8 var ExtensionViewConstants = { |
| 9 | 9 // Attributes. |
| 10 ATTRIBUTE_EXTENSION: 'extension', | 10 ATTRIBUTE_EXTENSION: 'extension', |
| 11 ATTRIBUTE_SRC: 'src', | 11 ATTRIBUTE_SRC: 'src', |
| 12 }; | 12 }; |
| 13 | 13 |
| 14 exports.ExtensionViewConstants = ExtensionViewConstants; | 14 $Object.freeze(ExtensionViewConstants); |
| 15 | |
| 16 exports.ExtensionViewConstants = ExtensionViewConstants; | |
|
Fady Samuel
2015/03/20 15:57:27
You can save a couple of lines of code:
exports.E
paulmeyer
2015/03/20 16:16:15
Done.
| |
| OLD | NEW |