]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#312] Use a public remote resource
authorrwldrn <waldron.rick@gmail.com>
Wed, 16 Feb 2011 20:06:28 +0000 (15:06 -0500)
committerrwldrn <waldron.rick@gmail.com>
Wed, 16 Feb 2011 20:06:28 +0000 (15:06 -0500)
test/popcorn.unit.js

index 899cd88cdf2ca627e5d93fbc01bd06e01d14dc38..72ee40426c46289d966453e581ec0756d64d7232 100644 (file)
@@ -1329,7 +1329,7 @@ test("Popcorn.getScript()", function () {
 
   Popcorn.getScript(
     
-    "https://github.com/rwldrn/q/raw/master/q.js", 
+    "https://github.com/rwldrn/has.js/raw/master/has.js", 
     
     function() {
       
@@ -1337,11 +1337,11 @@ test("Popcorn.getScript()", function () {
       plus();
       
 
-      ok( ("Q" in window) , "Popcorn.getScript https://github.com/rwldrn/q/raw/master/q.js loaded: `Q` is available");
+      ok( ("has" in window) , "Popcorn.getScript https://github.com/rwldrn/has.js/raw/master/has.js loaded: `has` is available");
       plus();
       
       
-      delete window["Q"];
+      delete window["has"];
     }
   );