aboutsummaryrefslogtreecommitdiffstats
path: root/src/effects
diff options
context:
space:
mode:
authorOleg <markelog@gmail.com>2013-11-07 21:14:23 +0100
committerOleg <markelog@gmail.com>2013-11-07 22:09:33 +0100
commit22120cea66ad88f83b96535416f5baab605fe530 (patch)
tree31f2ea0dd6d9f2298c5ade010dcbf9e62ade8e8e /src/effects
parentbcae4270151574d077fb360fd42416587f07c686 (diff)
downloadjquery-22120cea66ad88f83b96535416f5baab605fe530.tar.gz
jquery-22120cea66ad88f83b96535416f5baab605fe530.zip
Fix some code style inconsistencies
Diffstat (limited to 'src/effects')
-rw-r--r--src/effects/Tween.js2
-rw-r--r--src/effects/support.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/effects/Tween.js b/src/effects/Tween.js
index 43779b065..12eec55cf 100644
--- a/src/effects/Tween.js
+++ b/src/effects/Tween.js
@@ -102,7 +102,7 @@ jQuery.easing = {
return p;
},
swing: function( p ) {
- return 0.5 - Math.cos( p*Math.PI ) / 2;
+ return 0.5 - Math.cos( p * Math.PI ) / 2;
}
};
diff --git a/src/effects/support.js b/src/effects/support.js
index 0299cae4e..2391bcbff 100644
--- a/src/effects/support.js
+++ b/src/effects/support.js
@@ -3,7 +3,7 @@ define([
"../var/support"
], function( strundefined, support ) {
-(function () {
+(function() {
var a, shrinkWrapBlocksVal,
div = document.createElement( "div" ),
divReset =
@@ -32,7 +32,7 @@ define([
// Null elements to avoid leaks in IE.
a = div = null;
- support.shrinkWrapBlocks = function () {
+ support.shrinkWrapBlocks = function() {
var body, container, div, containerStyles;
if ( shrinkWrapBlocksVal == null ) {