[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [qmlweb] src: Fix some missing "var"s.
From:       Anton Kreuzkamp <akreuzkamp () web ! de>
Date:       2014-02-28 21:51:48
Message-ID: E1WJVLQ-0007mI-Eu () scm ! kde ! org
[Download RAW message or body]

Git commit 57db4f85bb6fe9a2fdc682a0a2a2778d105d8b2b by Anton Kreuzkamp.
Committed on 28/02/2014 at 21:10.
Pushed by akreuzkamp into branch 'master'.

Fix some missing "var"s.

M  +5    -5    src/qtcore.js

http://commits.kde.org/qmlweb/57db4f85bb6fe9a2fdc682a0a2a2778d105d8b2b

diff --git a/src/qtcore.js b/src/qtcore.js
index 93f7502..c70aa86 100644
--- a/src/qtcore.js
+++ b/src/qtcore.js
@@ -72,8 +72,8 @@
         // Layout directions
         LeftToRight: 0,
         RightToLeft: 1
-    }
-    var Font = {
+    },
+    Font = {
         // Capitalization
         MixedCase: "none",
         AllUppercase: "uppercase",
@@ -86,8 +86,8 @@
         DemiBold: "600",
         Bold: "bold",
         Black: "bolder",
-    }
-    var Easing = {
+    },
+    Easing = {
         Linear: 1,
         InQuad: 2,          OutQuad: 3,     InOutQuad: 4,           OutInQuad: 5,
         InCubic: 6,         OutCubic: 7,    InOutCubic: 8,          OutInCubic: 9,
@@ -99,7 +99,7 @@
         InElastic: 30,      OutElastic: 31, InOutElastic: 32,       OutInElastic: 33,
         InBack: 34,         OutBack: 35,    InOutBack: 36,          OutInBack: 37,
         InBounce: 38,       OutBounce: 39,  InOutBounce: 40,        OutInBounce: 41
-    }
+    },
     // Simple shortcuts to getter & setter functions, coolness with minifier
     GETTER = "__defineGetter__",
     SETTER = "__defineSetter__",

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic