Permalink
Browse files

more whimsical imaginary javascript location name

  • Loading branch information...
1 parent 68004f9 commit 57b9c7d9a0e2adeae289584b13b900e19995a9b0 @noahadams noahadams committed Mar 5, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/index.html
View
@@ -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

0 comments on commit 57b9c7d

Please sign in to comment.