From kde-commits Fri Feb 28 21:51:48 2014 From: Anton Kreuzkamp Date: Fri, 28 Feb 2014 21:51:48 +0000 To: kde-commits Subject: [qmlweb] src: Fix some missing "var"s. Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=139362431707023 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 =3D { + }, + Font =3D { // Capitalization MixedCase: "none", AllUppercase: "uppercase", @@ -86,8 +86,8 @@ DemiBold: "600", Bold: "bold", Black: "bolder", - } - var Easing =3D { + }, + Easing =3D { Linear: 1, InQuad: 2, OutQuad: 3, InOutQuad: 4, OutInQ= uad: 5, InCubic: 6, OutCubic: 7, InOutCubic: 8, OutInC= ubic: 9, @@ -99,7 +99,7 @@ InElastic: 30, OutElastic: 31, InOutElastic: 32, OutInE= lastic: 33, InBack: 34, OutBack: 35, InOutBack: 36, OutInB= ack: 37, InBounce: 38, OutBounce: 39, InOutBounce: 40, OutInB= ounce: 41 - } + }, // Simple shortcuts to getter & setter functions, coolness with minifi= er GETTER =3D "__defineGetter__", SETTER =3D "__defineSetter__",