]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#312] changes remote script request to something with a controlled number of vars
authorrwldrn <waldron.rick@gmail.com>
Wed, 16 Feb 2011 18:51:19 +0000 (13:51 -0500)
committerrwldrn <waldron.rick@gmail.com>
Wed, 16 Feb 2011 18:51:19 +0000 (13:51 -0500)
test/popcorn.unit.js

index 55df750462a19f3513ac68248435a3e817b9c3b6..899cd88cdf2ca627e5d93fbc01bd06e01d14dc38 100644 (file)
@@ -1329,7 +1329,7 @@ test("Popcorn.getScript()", function () {
 
   Popcorn.getScript(
     
-    "http://processingjs.org/content/download/processing-js-1.0.0/processing-1.0.0.min.js", 
+    "https://github.com/rwldrn/q/raw/master/q.js", 
     
     function() {
       
@@ -1337,11 +1337,11 @@ test("Popcorn.getScript()", function () {
       plus();
       
 
-      ok( ("Processing" in window) , "Popcorn.getScript http://processingjs.org/content/download/processing-js-1.0.0/processing-1.0.0.min.js loaded: `Processing` is available");
+      ok( ("Q" in window) , "Popcorn.getScript https://github.com/rwldrn/q/raw/master/q.js loaded: `Q` is available");
       plus();
       
       
-      delete window["Processing"];
+      delete window["Q"];
     }
   );