From 648ee61ae84216d0236e0dbc211addc13b2cfa3a Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 11:52:06 -0700 Subject: Expand tabs --- js/components/ui/tree-basic/treeItem.reel/treeItem.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'js/components/ui/tree-basic/treeItem.reel/treeItem.js') diff --git a/js/components/ui/tree-basic/treeItem.reel/treeItem.js b/js/components/ui/tree-basic/treeItem.reel/treeItem.js index 1677d514..ffed488e 100755 --- a/js/components/ui/tree-basic/treeItem.reel/treeItem.js +++ b/js/components/ui/tree-basic/treeItem.reel/treeItem.js @@ -76,8 +76,8 @@ exports.TreeItem = Montage.create(Component, { value:null }, willDraw: { - enumerable: false, - value: function() { + enumerable: false, + value: function() { var that = this; this.itemName.innerHTML = this.treeItemData.name; @@ -108,14 +108,14 @@ exports.TreeItem = Montage.create(Component, { } }, draw: { - enumerable: false, - value: function() { + enumerable: false, + value: function() { } }, didDraw: { - enumerable: false, - value: function() { + enumerable: false, + value: function() { var that = this; this.element.identifier = "treeItem"; this.treeArrow.identifier = "treeArrow"; @@ -333,12 +333,12 @@ exports.TreeItem = Montage.create(Component, { formatTimestamp:{ writable:false, enumerable: false, - value: function(timestamp) { + value: function(timestamp) { var aDate = new Date(); timestamp = timestamp - (aDate.getTimezoneOffset()*60*1000);//convert from GMT to local timestamp aDate = new Date(timestamp); return aDate.toLocaleString(); - } + } } }); -- cgit v1.2.3