diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-08-15 14:15:49 -0400 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-08-15 14:15:49 -0400 |
commit | 6318ae6ab90d4b450dfadf32ab95fe52ed6331cb (patch) | |
tree | 50b247fed8569e909e380b281e9145bd1458a39e /src/var | |
parent | 7627b8b6d9ef6e57dbd20a55b946bd1991c1223e (diff) | |
download | jquery-6318ae6ab90d4b450dfadf32ab95fe52ed6331cb.tar.gz jquery-6318ae6ab90d4b450dfadf32ab95fe52ed6331cb.zip |
AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.
Diffstat (limited to 'src/var')
-rw-r--r-- | src/var/arr.js | 3 | ||||
-rw-r--r-- | src/var/class2type.js | 3 | ||||
-rw-r--r-- | src/var/concat.js | 5 | ||||
-rw-r--r-- | src/var/hasOwn.js | 5 | ||||
-rw-r--r-- | src/var/indexOf.js | 5 | ||||
-rw-r--r-- | src/var/pnum.js | 3 | ||||
-rw-r--r-- | src/var/push.js | 5 | ||||
-rw-r--r-- | src/var/rnotwhite.js | 3 | ||||
-rw-r--r-- | src/var/slice.js | 5 | ||||
-rw-r--r-- | src/var/strundefined.js | 3 | ||||
-rw-r--r-- | src/var/toString.js | 5 | ||||
-rw-r--r-- | src/var/trim.js | 3 |
12 files changed, 48 insertions, 0 deletions
diff --git a/src/var/arr.js b/src/var/arr.js new file mode 100644 index 000000000..39efc6a70 --- /dev/null +++ b/src/var/arr.js @@ -0,0 +1,3 @@ +define(function() { + return []; +});
\ No newline at end of file diff --git a/src/var/class2type.js b/src/var/class2type.js new file mode 100644 index 000000000..d31b7afcd --- /dev/null +++ b/src/var/class2type.js @@ -0,0 +1,3 @@ +define(function() { + return {}; +});
\ No newline at end of file diff --git a/src/var/concat.js b/src/var/concat.js new file mode 100644 index 000000000..c95cff5ca --- /dev/null +++ b/src/var/concat.js @@ -0,0 +1,5 @@ +define([ + "./arr" +], function( arr ) { + return arr.concat; +});
\ No newline at end of file diff --git a/src/var/hasOwn.js b/src/var/hasOwn.js new file mode 100644 index 000000000..2fd59e1f7 --- /dev/null +++ b/src/var/hasOwn.js @@ -0,0 +1,5 @@ +define([ + "./class2type" +], function( class2type ) { + return class2type.hasOwnProperty; +});
\ No newline at end of file diff --git a/src/var/indexOf.js b/src/var/indexOf.js new file mode 100644 index 000000000..8909c1948 --- /dev/null +++ b/src/var/indexOf.js @@ -0,0 +1,5 @@ +define([ + "./arr" +], function( arr ) { + return arr.indexOf; +});
\ No newline at end of file diff --git a/src/var/pnum.js b/src/var/pnum.js new file mode 100644 index 000000000..d1af1e67b --- /dev/null +++ b/src/var/pnum.js @@ -0,0 +1,3 @@ +define(function() { + return /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source; +});
\ No newline at end of file diff --git a/src/var/push.js b/src/var/push.js new file mode 100644 index 000000000..bc38c7ed7 --- /dev/null +++ b/src/var/push.js @@ -0,0 +1,5 @@ +define([ + "./arr" +], function( arr ) { + return arr.push; +});
\ No newline at end of file diff --git a/src/var/rnotwhite.js b/src/var/rnotwhite.js new file mode 100644 index 000000000..887c82985 --- /dev/null +++ b/src/var/rnotwhite.js @@ -0,0 +1,3 @@ +define(function() { + return /\S+/g; +});
\ No newline at end of file diff --git a/src/var/slice.js b/src/var/slice.js new file mode 100644 index 000000000..08503fac2 --- /dev/null +++ b/src/var/slice.js @@ -0,0 +1,5 @@ +define([ + "./arr" +], function( arr ) { + return arr.slice; +});
\ No newline at end of file diff --git a/src/var/strundefined.js b/src/var/strundefined.js new file mode 100644 index 000000000..99a26f44a --- /dev/null +++ b/src/var/strundefined.js @@ -0,0 +1,3 @@ +define(function() { + return typeof undefined; +});
\ No newline at end of file diff --git a/src/var/toString.js b/src/var/toString.js new file mode 100644 index 000000000..db39811b6 --- /dev/null +++ b/src/var/toString.js @@ -0,0 +1,5 @@ +define([ + "./class2type" +], function( class2type ) { + return class2type.toString; +});
\ No newline at end of file diff --git a/src/var/trim.js b/src/var/trim.js new file mode 100644 index 000000000..e5d414aca --- /dev/null +++ b/src/var/trim.js @@ -0,0 +1,3 @@ +define(function() { + return "".trim; +});
\ No newline at end of file |