diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2015-05-05 11:44:55 -0700 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2015-05-05 11:44:55 -0700 |
commit | a74320fca8bb0a2190f6e1fdb71a73733b6986e4 (patch) | |
tree | 36e4af65a7acfb354f7d713a1859ba81e7d53116 /src/manipulation/var | |
parent | 6d7ef56ed3004a18f5139928455cdbdc169e1232 (diff) | |
download | jquery-a74320fca8bb0a2190f6e1fdb71a73733b6986e4.tar.gz jquery-a74320fca8bb0a2190f6e1fdb71a73733b6986e4.zip |
Manipulation: privatize buildFragment() function
Fixes gh-2224
Diffstat (limited to 'src/manipulation/var')
-rw-r--r-- | src/manipulation/var/rscriptType.js | 3 | ||||
-rw-r--r-- | src/manipulation/var/rtagName.js | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/manipulation/var/rscriptType.js b/src/manipulation/var/rscriptType.js new file mode 100644 index 000000000..60ef70ac8 --- /dev/null +++ b/src/manipulation/var/rscriptType.js @@ -0,0 +1,3 @@ +define(function() { + return ( /^$|\/(?:java|ecma)script/i ); +}); diff --git a/src/manipulation/var/rtagName.js b/src/manipulation/var/rtagName.js new file mode 100644 index 000000000..cd0b768e0 --- /dev/null +++ b/src/manipulation/var/rtagName.js @@ -0,0 +1,3 @@ +define(function() { + return ( /<([\w:-]+)/ ); +}); |