Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

more whimsical imaginary javascript location name

  • Loading branch information...
commit 57b9c7d9a0e2adeae289584b13b900e19995a9b0 1 parent 68004f9
@noahadams noahadams authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/index.html
View
8 tests/index.html
@@ -63,9 +63,9 @@ <h2 id="qunit-userAgent"></h2>
<textarea id="combineScripts-1">
<script>var a = ['a']</script>
- <script x-src="http://www.example.com/imaginary/push.js#b"></script>
+ <script x-src="http://should.be/cached/push.js#b"></script>
<script>a.push('c')</script>
- <script x-src="http://www.example.com/imaginary/push.js#d"></script>
+ <script x-src="http://should.be/cached/push.js#d"></script>
</textarea>
<textarea id="combineScripts-2">
@@ -185,10 +185,10 @@ <h2 id="qunit-userAgent"></h2>
asyncTest('combo - Warm cache', 1, function() {
var cache = {
- 'http://www.example.com/imaginary/push.js': {
+ 'http://should.be/cached/push.js': {
'headers': {'expires': UTC_TWO_WEEKS_FROM_NOW}
, 'status': 'ready'
- , 'url': 'http://www.example.com/imaginary/push.js'
+ , 'url': 'http://should.be/cached/push.js'
, 'body': 'var scripts = [].slice.call(document.getElementsByTagName("script"));'
+ 'a.push(scripts[scripts.length - 2].innerHTML.split("#")[1][0]);'
, 'text': true
Please sign in to comment.
Something went wrong with that request. Please try again.