diff options
Diffstat (limited to 'libs/bower_components/jquery/src/var')
-rw-r--r-- | libs/bower_components/jquery/src/var/arr.js | 3 | ||||
-rw-r--r-- | libs/bower_components/jquery/src/var/class2type.js | 5 | ||||
-rw-r--r-- | libs/bower_components/jquery/src/var/concat.js | 10 | ||||
-rw-r--r-- | libs/bower_components/jquery/src/var/deletedIds.js | 4 | ||||
-rw-r--r-- | libs/bower_components/jquery/src/var/document.js | 3 | ||||
-rw-r--r-- | libs/bower_components/jquery/src/var/documentElement.js | 5 | ||||
-rw-r--r-- | libs/bower_components/jquery/src/var/hasOwn.js | 4 | ||||
-rw-r--r-- | libs/bower_components/jquery/src/var/indexOf.js | 10 | ||||
-rw-r--r-- | libs/bower_components/jquery/src/var/pnum.js | 6 | ||||
-rw-r--r-- | libs/bower_components/jquery/src/var/push.js | 10 | ||||
-rw-r--r-- | libs/bower_components/jquery/src/var/rcssNum.js | 7 | ||||
-rw-r--r-- | libs/bower_components/jquery/src/var/rnotwhite.js | 6 | ||||
-rw-r--r-- | libs/bower_components/jquery/src/var/slice.js | 10 | ||||
-rw-r--r-- | libs/bower_components/jquery/src/var/strundefined.js | 3 | ||||
-rw-r--r-- | libs/bower_components/jquery/src/var/support.js | 5 | ||||
-rw-r--r-- | libs/bower_components/jquery/src/var/toString.js | 4 |
16 files changed, 56 insertions, 39 deletions
diff --git a/libs/bower_components/jquery/src/var/arr.js b/libs/bower_components/jquery/src/var/arr.js new file mode 100644 index 0000000000..3fd3640001 --- /dev/null +++ b/libs/bower_components/jquery/src/var/arr.js @@ -0,0 +1,3 @@ +define( function() { + return []; +} ); diff --git a/libs/bower_components/jquery/src/var/class2type.js b/libs/bower_components/jquery/src/var/class2type.js index e674c3ba65..3a6932e11b 100644 --- a/libs/bower_components/jquery/src/var/class2type.js +++ b/libs/bower_components/jquery/src/var/class2type.js @@ -1,4 +1,5 @@ -define(function() { +define( function() { + // [[Class]] -> type pairs return {}; -}); +} ); diff --git a/libs/bower_components/jquery/src/var/concat.js b/libs/bower_components/jquery/src/var/concat.js index 8606ea34cd..9787bead63 100644 --- a/libs/bower_components/jquery/src/var/concat.js +++ b/libs/bower_components/jquery/src/var/concat.js @@ -1,5 +1,5 @@ -define([ - "./deletedIds" -], function( deletedIds ) { - return deletedIds.concat; -}); +define( [ + "./arr" +], function( arr ) { + return arr.concat; +} ); diff --git a/libs/bower_components/jquery/src/var/deletedIds.js b/libs/bower_components/jquery/src/var/deletedIds.js index b18fc9ce0c..3fd3640001 100644 --- a/libs/bower_components/jquery/src/var/deletedIds.js +++ b/libs/bower_components/jquery/src/var/deletedIds.js @@ -1,3 +1,3 @@ -define(function() { +define( function() { return []; -}); +} ); diff --git a/libs/bower_components/jquery/src/var/document.js b/libs/bower_components/jquery/src/var/document.js new file mode 100644 index 0000000000..bb94284846 --- /dev/null +++ b/libs/bower_components/jquery/src/var/document.js @@ -0,0 +1,3 @@ +define( function() { + return window.document; +} ); diff --git a/libs/bower_components/jquery/src/var/documentElement.js b/libs/bower_components/jquery/src/var/documentElement.js new file mode 100644 index 0000000000..e0c0aea6bb --- /dev/null +++ b/libs/bower_components/jquery/src/var/documentElement.js @@ -0,0 +1,5 @@ +define( [ + "./document" +], function( document ) { + return document.documentElement; +} ); diff --git a/libs/bower_components/jquery/src/var/hasOwn.js b/libs/bower_components/jquery/src/var/hasOwn.js index 32c002affc..92f323e046 100644 --- a/libs/bower_components/jquery/src/var/hasOwn.js +++ b/libs/bower_components/jquery/src/var/hasOwn.js @@ -1,5 +1,5 @@ -define([ +define( [ "./class2type" ], function( class2type ) { return class2type.hasOwnProperty; -}); +} ); diff --git a/libs/bower_components/jquery/src/var/indexOf.js b/libs/bower_components/jquery/src/var/indexOf.js index fafddd437a..5283841b23 100644 --- a/libs/bower_components/jquery/src/var/indexOf.js +++ b/libs/bower_components/jquery/src/var/indexOf.js @@ -1,5 +1,5 @@ -define([ - "./deletedIds" -], function( deletedIds ) { - return deletedIds.indexOf; -}); +define( [ + "./arr" +], function( arr ) { + return arr.indexOf; +} ); diff --git a/libs/bower_components/jquery/src/var/pnum.js b/libs/bower_components/jquery/src/var/pnum.js index 407044724e..7fd9f66774 100644 --- a/libs/bower_components/jquery/src/var/pnum.js +++ b/libs/bower_components/jquery/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/libs/bower_components/jquery/src/var/push.js b/libs/bower_components/jquery/src/var/push.js index cc1e105bf2..bca1a58ed0 100644 --- a/libs/bower_components/jquery/src/var/push.js +++ b/libs/bower_components/jquery/src/var/push.js @@ -1,5 +1,5 @@ -define([ - "./deletedIds" -], function( deletedIds ) { - return deletedIds.push; -}); +define( [ + "./arr" +], function( arr ) { + return arr.push; +} ); diff --git a/libs/bower_components/jquery/src/var/rcssNum.js b/libs/bower_components/jquery/src/var/rcssNum.js new file mode 100644 index 0000000000..408f5e26d0 --- /dev/null +++ b/libs/bower_components/jquery/src/var/rcssNum.js @@ -0,0 +1,7 @@ +define( [ + "../var/pnum" +], function( pnum ) { + +return new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + +} ); diff --git a/libs/bower_components/jquery/src/var/rnotwhite.js b/libs/bower_components/jquery/src/var/rnotwhite.js index 7c69bec53c..6067728ee0 100644 --- a/libs/bower_components/jquery/src/var/rnotwhite.js +++ b/libs/bower_components/jquery/src/var/rnotwhite.js @@ -1,3 +1,3 @@ -define(function() { - return (/\S+/g); -}); +define( function() { + return ( /\S+/g ); +} ); diff --git a/libs/bower_components/jquery/src/var/slice.js b/libs/bower_components/jquery/src/var/slice.js index d47618a8d5..d8206d30a8 100644 --- a/libs/bower_components/jquery/src/var/slice.js +++ b/libs/bower_components/jquery/src/var/slice.js @@ -1,5 +1,5 @@ -define([ - "./deletedIds" -], function( deletedIds ) { - return deletedIds.slice; -}); +define( [ + "./arr" +], function( arr ) { + return arr.slice; +} ); diff --git a/libs/bower_components/jquery/src/var/strundefined.js b/libs/bower_components/jquery/src/var/strundefined.js deleted file mode 100644 index 04e16b03e7..0000000000 --- a/libs/bower_components/jquery/src/var/strundefined.js +++ /dev/null @@ -1,3 +0,0 @@ -define(function() { - return typeof undefined; -}); diff --git a/libs/bower_components/jquery/src/var/support.js b/libs/bower_components/jquery/src/var/support.js index b25dbc74bb..3db9b67bca 100644 --- a/libs/bower_components/jquery/src/var/support.js +++ b/libs/bower_components/jquery/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/libs/bower_components/jquery/src/var/toString.js b/libs/bower_components/jquery/src/var/toString.js index ca92d22224..80ac7f13f2 100644 --- a/libs/bower_components/jquery/src/var/toString.js +++ b/libs/bower_components/jquery/src/var/toString.js @@ -1,5 +1,5 @@ -define([ +define( [ "./class2type" ], function( class2type ) { return class2type.toString; -}); +} ); |