]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#336] pass options to definition function
authorDaniel Brooks <db48x@db48x.net>
Sat, 19 Feb 2011 13:04:32 +0000 (07:04 -0600)
committerDaniel Brooks <db48x@db48x.net>
Sat, 19 Feb 2011 13:04:32 +0000 (07:04 -0600)
popcorn.js [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 786c6b2..8379174
     }
     else if ( typeof definition === "function" ) {
       plugin[ name ] = function( options ) {
-        return pluginFn.call( this, definition.call( this ), options );
+        return pluginFn.call( this, definition.call( this, options ), options );
       };
     }