diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2013-01-27 23:34:38 -0500 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2013-02-07 15:16:28 -0500 |
commit | 363299ac24aebbf2445207621840f44fcaaf670a (patch) | |
tree | 50f8e3041341118cb713e780a5cfa97853a6af89 /test/jquery.js | |
parent | f3db084f7cc73379b0d6f5341c987e2a801ea032 (diff) | |
download | jquery-363299ac24aebbf2445207621840f44fcaaf670a.tar.gz jquery-363299ac24aebbf2445207621840f44fcaaf670a.zip |
Ref #13316: Sync all documents on full vs. minified source. Close gh-1147.
Diffstat (limited to 'test/jquery.js')
-rw-r--r-- | test/jquery.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/jquery.js b/test/jquery.js new file mode 100644 index 000000000..93d1095cd --- /dev/null +++ b/test/jquery.js @@ -0,0 +1,5 @@ +// Use the right jQuery source in iframe tests +document.write( "<script id='jquery-js' src='" + + parent.document.getElementById("jquery-js").src.replace( /^(?![^\/?#]+:)/, + parent.location.pathname.replace( /[^\/]$/, "$0/" ) ) + +"'><\x2Fscript>" ); |