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/icon-list-basic/icon.reel/icon.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'js/components/ui/icon-list-basic/icon.reel') diff --git a/js/components/ui/icon-list-basic/icon.reel/icon.js b/js/components/ui/icon-list-basic/icon.reel/icon.js index 11cf3b12..d0954324 100755 --- a/js/components/ui/icon-list-basic/icon.reel/icon.js +++ b/js/components/ui/icon-list-basic/icon.reel/icon.js @@ -70,14 +70,14 @@ exports.Icon = Montage.create(Component, { }, willDraw: { - enumerable: false, - value: function() { + enumerable: false, + value: function() { - } + } }, draw: { - enumerable: false, - value: function() { + enumerable: false, + value: function() { if(this.icondata.type === "directory"){ this.iconImg.src = this.imgStore.img_root + this.imgStore.directory; }else{ @@ -91,11 +91,11 @@ exports.Icon = Montage.create(Component, { } this.iconImg.src = fileImg; } - } + } }, didDraw: { - enumerable: false, - value: function() { + enumerable: false, + value: function() { var that = this; var icon = this.iconImg; @@ -131,7 +131,7 @@ exports.Icon = Montage.create(Component, { selectedItemEvent.uri = this.icondata.uri; this.element.dispatchEvent(selectedItemEvent); } - } + } }, /** @@ -195,12 +195,12 @@ exports.Icon = 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(); - } + } }, imgStore:{ -- cgit v1.2.3 From 9461e7731f91dd03a15b0a62667e722a60c84721 Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 12:44:57 -0700 Subject: Remove byte order markers (BOM) --- js/components/ui/icon-list-basic/icon.reel/icon.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/components/ui/icon-list-basic/icon.reel') diff --git a/js/components/ui/icon-list-basic/icon.reel/icon.html b/js/components/ui/icon-list-basic/icon.reel/icon.html index 2ae24b10..653599c9 100755 --- a/js/components/ui/icon-list-basic/icon.reel/icon.html +++ b/js/components/ui/icon-list-basic/icon.reel/icon.html @@ -1,4 +1,4 @@ - +