aboutsummaryrefslogtreecommitdiffstats
path: root/src/var
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2015-09-03 02:52:01 +0300
committerOleg Gaidarenko <markelog@gmail.com>2015-09-07 20:14:50 +0300
commit20ddbe4f594f78f7f1095050aabd91882dde0670 (patch)
treecec646466acf1470780105c743e72d52f5c691ba /src/var
parentfa8a5a90e157f26a54ce50b4e8bb8f2f4bce3500 (diff)
downloadjquery-20ddbe4f594f78f7f1095050aabd91882dde0670.tar.gz
jquery-20ddbe4f594f78f7f1095050aabd91882dde0670.zip
Build: Update jscs and lint files
Ref 10fdad742a2a6aa9f0e00b3e04fc5264797c53c7 Fixes gh-2056
Diffstat (limited to 'src/var')
-rw-r--r--src/var/class2type.js5
-rw-r--r--src/var/concat.js4
-rw-r--r--src/var/deletedIds.js4
-rw-r--r--src/var/document.js4
-rw-r--r--src/var/documentElement.js4
-rw-r--r--src/var/hasOwn.js4
-rw-r--r--src/var/indexOf.js4
-rw-r--r--src/var/pnum.js6
-rw-r--r--src/var/push.js4
-rw-r--r--src/var/rcssNum.js4
-rw-r--r--src/var/rnotwhite.js6
-rw-r--r--src/var/slice.js4
-rw-r--r--src/var/support.js5
-rw-r--r--src/var/toString.js4
14 files changed, 32 insertions, 30 deletions
diff --git a/src/var/class2type.js b/src/var/class2type.js
index e674c3ba6..3a6932e11 100644
--- a/src/var/class2type.js
+++ b/src/var/class2type.js
@@ -1,4 +1,5 @@
-define(function() {
+define( function() {
+
// [[Class]] -> type pairs
return {};
-});
+} );
diff --git a/src/var/concat.js b/src/var/concat.js
index 8606ea34c..e6485639e 100644
--- a/src/var/concat.js
+++ b/src/var/concat.js
@@ -1,5 +1,5 @@
-define([
+define( [
"./deletedIds"
], function( deletedIds ) {
return deletedIds.concat;
-});
+} );
diff --git a/src/var/deletedIds.js b/src/var/deletedIds.js
index b18fc9ce0..3fd364000 100644
--- a/src/var/deletedIds.js
+++ b/src/var/deletedIds.js
@@ -1,3 +1,3 @@
-define(function() {
+define( function() {
return [];
-});
+} );
diff --git a/src/var/document.js b/src/var/document.js
index ded014f1a..bb9428484 100644
--- a/src/var/document.js
+++ b/src/var/document.js
@@ -1,3 +1,3 @@
-define(function() {
+define( function() {
return window.document;
-});
+} );
diff --git a/src/var/documentElement.js b/src/var/documentElement.js
index c639670f1..e0c0aea6b 100644
--- a/src/var/documentElement.js
+++ b/src/var/documentElement.js
@@ -1,5 +1,5 @@
-define([
+define( [
"./document"
], function( document ) {
return document.documentElement;
-});
+} );
diff --git a/src/var/hasOwn.js b/src/var/hasOwn.js
index 32c002aff..92f323e04 100644
--- a/src/var/hasOwn.js
+++ b/src/var/hasOwn.js
@@ -1,5 +1,5 @@
-define([
+define( [
"./class2type"
], function( class2type ) {
return class2type.hasOwnProperty;
-});
+} );
diff --git a/src/var/indexOf.js b/src/var/indexOf.js
index fafddd437..4b440b6d3 100644
--- a/src/var/indexOf.js
+++ b/src/var/indexOf.js
@@ -1,5 +1,5 @@
-define([
+define( [
"./deletedIds"
], function( deletedIds ) {
return deletedIds.indexOf;
-});
+} );
diff --git a/src/var/pnum.js b/src/var/pnum.js
index 407044724..7fd9f6677 100644
--- a/src/var/pnum.js
+++ b/src/var/pnum.js
@@ -1,3 +1,3 @@
-define(function() {
- return (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source;
-});
+define( function() {
+ return ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source;
+} );
diff --git a/src/var/push.js b/src/var/push.js
index cc1e105bf..881590b2e 100644
--- a/src/var/push.js
+++ b/src/var/push.js
@@ -1,5 +1,5 @@
-define([
+define( [
"./deletedIds"
], function( deletedIds ) {
return deletedIds.push;
-});
+} );
diff --git a/src/var/rcssNum.js b/src/var/rcssNum.js
index 2fc3938a5..408f5e26d 100644
--- a/src/var/rcssNum.js
+++ b/src/var/rcssNum.js
@@ -1,7 +1,7 @@
-define([
+define( [
"../var/pnum"
], function( pnum ) {
return new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" );
-});
+} );
diff --git a/src/var/rnotwhite.js b/src/var/rnotwhite.js
index 7c69bec53..6067728ee 100644
--- a/src/var/rnotwhite.js
+++ b/src/var/rnotwhite.js
@@ -1,3 +1,3 @@
-define(function() {
- return (/\S+/g);
-});
+define( function() {
+ return ( /\S+/g );
+} );
diff --git a/src/var/slice.js b/src/var/slice.js
index d47618a8d..4e3e979ec 100644
--- a/src/var/slice.js
+++ b/src/var/slice.js
@@ -1,5 +1,5 @@
-define([
+define( [
"./deletedIds"
], function( deletedIds ) {
return deletedIds.slice;
-});
+} );
diff --git a/src/var/support.js b/src/var/support.js
index b25dbc74b..3db9b67bc 100644
--- a/src/var/support.js
+++ b/src/var/support.js
@@ -1,4 +1,5 @@
-define(function() {
+define( function() {
+
// All support tests are defined in their respective modules.
return {};
-});
+} );
diff --git a/src/var/toString.js b/src/var/toString.js
index ca92d2222..80ac7f13f 100644
--- a/src/var/toString.js
+++ b/src/var/toString.js
@@ -1,5 +1,5 @@
-define([
+define( [
"./class2type"
], function( class2type ) {
return class2type.toString;
-});
+} );