From: Daniel Brooks Date: Fri, 17 Dec 2010 06:07:28 +0000 (-0600) Subject: [#232] pass in 'this' instead of 'self' X-Git-Tag: v0.2~34^2~2^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=3177abac8168ac20450a1cccd84463b34abd144a;p=popcorn-js.git [#232] pass in 'this' instead of 'self' --- diff --git a/popcorn.js b/popcorn.js index 2d8d955..1542a3c 100644 --- a/popcorn.js +++ b/popcorn.js @@ -491,7 +491,7 @@ // the events commence if ( "_setup" in setup && typeof setup._setup === "function" ) { - setup._setup.call(self, options); + setup._setup.call(this, options); }