]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
added fix for options parameter [#241]
authorAnna Sobiepanek <annaopensource@gmail.com>
Fri, 24 Dec 2010 22:38:51 +0000 (17:38 -0500)
committerAnna Sobiepanek <annaopensource@gmail.com>
Fri, 24 Dec 2010 22:38:51 +0000 (17:38 -0500)
popcorn.js

index 63714c9e77ff6f4d89daa1d0497242a0fa61af3d..5dc3ad0aac43a1b05933e04bb898665864d35a0f 100644 (file)
         
         if ( "_setup" in setup && typeof setup._setup === "function" ) {
 
-          setup._setup.call( this, Popcorn.extend( {}, options, {
-                                      target: setup.manifest.options.target || "" 
-                                   })
-                            );
+          setup._setup.call( this, options);
+          Popcorn.extend( {}, options, {
+                            target: setup.manifest.options.target || "" 
+                         });
         }