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 +++++++++++----------- .../ui/icon-list-basic/iconsList.reel/iconsList.js | 18 +++++++++--------- 2 files changed, 20 insertions(+), 20 deletions(-) (limited to 'js/components/ui/icon-list-basic') 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:{ diff --git a/js/components/ui/icon-list-basic/iconsList.reel/iconsList.js b/js/components/ui/icon-list-basic/iconsList.reel/iconsList.js index 8b40f102..c2e2d46f 100755 --- a/js/components/ui/icon-list-basic/iconsList.reel/iconsList.js +++ b/js/components/ui/icon-list-basic/iconsList.reel/iconsList.js @@ -55,22 +55,22 @@ var IconsList = exports.IconsList = Montage.create(Component, { }, willDraw: { - enumerable: false, - value: function() { + enumerable: false, + value: function() { - } + } }, draw: { - enumerable: false, - value: function() { + enumerable: false, + value: function() { - } + } }, didDraw: { - enumerable: false, - value: function() { + enumerable: false, + value: function() { - } + } } }); -- cgit v1.2.3 From 6803c0abd279fcb640c38b3881b751bab982cbe0 Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 6 Jul 2012 12:42:16 -0700 Subject: Remove trailing spaces --- js/components/ui/icon-list-basic/iconsList.reel/iconsList.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/components/ui/icon-list-basic') diff --git a/js/components/ui/icon-list-basic/iconsList.reel/iconsList.css b/js/components/ui/icon-list-basic/iconsList.reel/iconsList.css index e04bdf5d..1b7f2286 100755 --- a/js/components/ui/icon-list-basic/iconsList.reel/iconsList.css +++ b/js/components/ui/icon-list-basic/iconsList.reel/iconsList.css @@ -29,5 +29,5 @@ POSSIBILITY OF SUCH DAMAGE. */ .list{ - + } -- 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 +- js/components/ui/icon-list-basic/iconsList.reel/iconsList.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'js/components/ui/icon-list-basic') 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 @@ - +