Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 400c856

Browse files
author
Gabriel Schulhof
committed
Build: Update hashchange to include script tag escape
Grab the version of jquery.hashchange.js that includes gseguin/jquery-hashchange#1 which will cause the built library to be inline-able. Fixes gh-7300
1 parent 6b46425 commit 400c856

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"jquery": "1.10.2",
1818
"jquery-ui": "jquery/jquery-ui#c0ab71056b936627e8a7821f03c044aec6280a40",
1919
"jquery-ui-tabs": "jquery/jquery-ui#fadf2b312a05040436451c64bbfaf4814bc62c56",
20-
"jquery-hashchange": "gseguin/jquery-hashchange#77c4b3551fc6bdc2ac6b22b2641cfd7ac6b212d2"
20+
"jquery-hashchange": "gseguin/jquery-hashchange#2da0c56fd418fa323c136254f971b6176f1ae135"
2121
},
2222
"devDependencies": {
2323
"requirejs": "2.1.2",

external/jquery/plugins/jquery.hashchange.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@
370370
iframe_doc.open();
371371

372372
// Set document.domain for the Iframe document as well, if necessary.
373-
domain && iframe_doc.write( '<script>document.domain="' + domain + '"</script>' );
373+
domain && iframe_doc.write( '\x3cscript>document.domain="' + domain + '"\x3c/script>' );
374374

375375
iframe_doc.close();
376376

0 commit comments

Comments
 (0)