ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject [4/7] incubator-ponymail git commit: linting
Date Fri, 02 Sep 2016 11:19:41 GMT
linting


Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/81aa2820
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/81aa2820
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/81aa2820

Branch: refs/heads/coffee-and-cake
Commit: 81aa28205bf0af126e415432cb9bb82a9a4b6b52
Parents: 435a392
Author: Daniel Gruno <humbedooh@apache.org>
Authored: Fri Sep 2 12:59:19 2016 +0200
Committer: Daniel Gruno <humbedooh@apache.org>
Committed: Fri Sep 2 12:59:19 2016 +0200

----------------------------------------------------------------------
 site/js/coffee/dom_utils.coffee | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/81aa2820/site/js/coffee/dom_utils.coffee
----------------------------------------------------------------------
diff --git a/site/js/coffee/dom_utils.coffee b/site/js/coffee/dom_utils.coffee
index f594ffb..8397eaa 100644
--- a/site/js/coffee/dom_utils.coffee
+++ b/site/js/coffee/dom_utils.coffee
@@ -104,16 +104,20 @@ get = (a) ->
 
 ### Cog: Loading panel for when waiting for a response ###
 cog = (div, size = 200) ->
-        idiv = mk('div', { class: "icon", style: {
-            texAlign: 'center',
-            verticalAlign: 'middle',
-            height: '500px'
+        idiv = mk('div', {
+            class: "icon",
+            style: {
+                texAlign: 'center',
+                verticalAlign: 'middle',
+                height: '500px'
             }
         })
         
-        i = mk('i', { class: 'fa fa-spin fa-cog', style: {
-            fontSize: size+'pt !important',
-            color: '#AAB'
+        i = mk('i', {
+            class: 'fa fa-spin fa-cog',
+            style: {
+                fontSize: size + 'pt !important',
+                color: '#AAB'
             }
         })
         app(idiv, [i, mk('br'), "Loading data, please wait..."])


Mime
View raw message