summaryrefslogtreecommitdiffstats
path: root/js/vendor/jquery/src/manipulation/var
diff options
context:
space:
mode:
Diffstat (limited to 'js/vendor/jquery/src/manipulation/var')
-rw-r--r--js/vendor/jquery/src/manipulation/var/nodeNames.js5
-rw-r--r--js/vendor/jquery/src/manipulation/var/rcheckableType.js6
-rw-r--r--js/vendor/jquery/src/manipulation/var/rleadingWhitespace.js3
-rw-r--r--js/vendor/jquery/src/manipulation/var/rscriptType.js3
-rw-r--r--js/vendor/jquery/src/manipulation/var/rtagName.js3
5 files changed, 17 insertions, 3 deletions
diff --git a/js/vendor/jquery/src/manipulation/var/nodeNames.js b/js/vendor/jquery/src/manipulation/var/nodeNames.js
new file mode 100644
index 000000000..05bb604f4
--- /dev/null
+++ b/js/vendor/jquery/src/manipulation/var/nodeNames.js
@@ -0,0 +1,5 @@
+define( function() {
+ return "abbr|article|aside|audio|bdi|canvas|data|datalist|" +
+ "details|dialog|figcaption|figure|footer|header|hgroup|main|" +
+ "mark|meter|nav|output|picture|progress|section|summary|template|time|video";
+} );
diff --git a/js/vendor/jquery/src/manipulation/var/rcheckableType.js b/js/vendor/jquery/src/manipulation/var/rcheckableType.js
index c27a15dc4..4c95394ac 100644
--- a/js/vendor/jquery/src/manipulation/var/rcheckableType.js
+++ b/js/vendor/jquery/src/manipulation/var/rcheckableType.js
@@ -1,3 +1,3 @@
-define(function() {
- return (/^(?:checkbox|radio)$/i);
-});
+define( function() {
+ return ( /^(?:checkbox|radio)$/i );
+} );
diff --git a/js/vendor/jquery/src/manipulation/var/rleadingWhitespace.js b/js/vendor/jquery/src/manipulation/var/rleadingWhitespace.js
new file mode 100644
index 000000000..96ef95f31
--- /dev/null
+++ b/js/vendor/jquery/src/manipulation/var/rleadingWhitespace.js
@@ -0,0 +1,3 @@
+define( function() {
+ return ( /^\s+/ );
+} );
diff --git a/js/vendor/jquery/src/manipulation/var/rscriptType.js b/js/vendor/jquery/src/manipulation/var/rscriptType.js
new file mode 100644
index 000000000..0c77c8a58
--- /dev/null
+++ b/js/vendor/jquery/src/manipulation/var/rscriptType.js
@@ -0,0 +1,3 @@
+define( function() {
+ return ( /^$|\/(?:java|ecma)script/i );
+} );
diff --git a/js/vendor/jquery/src/manipulation/var/rtagName.js b/js/vendor/jquery/src/manipulation/var/rtagName.js
new file mode 100644
index 000000000..9e542694a
--- /dev/null
+++ b/js/vendor/jquery/src/manipulation/var/rtagName.js
@@ -0,0 +1,3 @@
+define( function() {
+ return ( /<([\w:-]+)/ );
+} );