]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#232] pass in 'this' instead of 'self'
authorDaniel Brooks <db48x@db48x.net>
Fri, 17 Dec 2010 06:07:28 +0000 (00:07 -0600)
committerDaniel Brooks <db48x@db48x.net>
Fri, 17 Dec 2010 06:07:28 +0000 (00:07 -0600)
popcorn.js

index 2d8d95555650dea19a4ccc913defbc390721d89a..1542a3c6135b3df588cea87432419a468b2dde1a 100644 (file)
         //  the events commence
         
         if ( "_setup" in setup && typeof setup._setup === "function" ) {
-          setup._setup.call(self, options);
+          setup._setup.call(this, options);
         }