aboutsummaryrefslogtreecommitdiffstats
path: root/src/css
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/css
parentbcae4270151574d077fb360fd42416587f07c686 (diff)
downloadjquery-22120cea66ad88f83b96535416f5baab605fe530.tar.gz
jquery-22120cea66ad88f83b96535416f5baab605fe530.zip
Fix some code style inconsistencies
Diffstat (limited to 'src/css')
-rw-r--r--src/css/support.js3
-rw-r--r--src/css/var/rmargin.js2
-rw-r--r--src/css/var/rnumnonpx.js2
3 files changed, 3 insertions, 4 deletions
diff --git a/src/css/support.js b/src/css/support.js
index fdc1dbd12..d5ea92820 100644
--- a/src/css/support.js
+++ b/src/css/support.js
@@ -3,7 +3,7 @@ define([
"../var/support"
], function( jQuery, support ) {
-(function () {
+(function() {
var a, reliableHiddenOffsetsVal, boxSizingVal, boxSizingReliableVal,
pixelPositionVal, reliableMarginRightVal,
div = document.createElement( "div" ),
@@ -34,7 +34,6 @@ define([
// Null elements to avoid leaks in IE.
a = div = null;
-
jQuery.extend(support, {
reliableHiddenOffsets: function() {
if ( reliableHiddenOffsetsVal != null ) {
diff --git a/src/css/var/rmargin.js b/src/css/var/rmargin.js
index 7597cd311..da0438db6 100644
--- a/src/css/var/rmargin.js
+++ b/src/css/var/rmargin.js
@@ -1,3 +1,3 @@
define(function() {
return (/^margin/);
-}); \ No newline at end of file
+});
diff --git a/src/css/var/rnumnonpx.js b/src/css/var/rnumnonpx.js
index ec4fd615c..c93be2850 100644
--- a/src/css/var/rnumnonpx.js
+++ b/src/css/var/rnumnonpx.js
@@ -2,4 +2,4 @@ define([
"../../var/pnum"
], function( pnum ) {
return new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" );
-}); \ No newline at end of file
+});