Merge pull request #443 from saneyuki/constant

Freeze TreeStyleTabConstants.
This commit is contained in:
YUKI "Piro" Hiroshi 2013-01-05 19:30:23 -08:00
commit a0a650e5c5

View File

@ -35,7 +35,7 @@
const EXPORTED_SYMBOLS = ['TreeStyleTabConstants']; const EXPORTED_SYMBOLS = ['TreeStyleTabConstants'];
var TreeStyleTabConstants = { const TreeStyleTabConstants = Object.freeze({
/* attributes */ /* attributes */
kID : 'treestyletab-id', kID : 'treestyletab-id',
kCHILDREN : 'treestyletab-children', kCHILDREN : 'treestyletab-children',
@ -202,4 +202,4 @@ var TreeStyleTabConstants = {
DEFAULT_SHRUNKEN_WIDTH_RATIO : 0.67, DEFAULT_SHRUNKEN_WIDTH_RATIO : 0.67,
MIN_TABBAR_WIDTH : 24, MIN_TABBAR_WIDTH : 24,
MIN_TABBAR_HEIGHT : 24 MIN_TABBAR_HEIGHT : 24
}; });