From 701e0a5b00824f02985f41555ee9401ffb1f72cb Mon Sep 17 00:00:00 2001 From: Daniel Brooks Date: Sat, 19 Feb 2011 07:04:32 -0600 Subject: [PATCH] [#336] pass options to definition function --- popcorn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 popcorn.js diff --git a/popcorn.js b/popcorn.js old mode 100755 new mode 100644 index 786c6b2..8379174 --- a/popcorn.js +++ b/popcorn.js @@ -751,7 +751,7 @@ } 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 ); }; } -- 2.43.0