From: Daniel Brooks Date: Wed, 23 Feb 2011 21:19:09 +0000 (-0600) Subject: [#336] move var decl X-Git-Tag: v0.4~39 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=6d0c62ffd37e461075e31a4beac1e0a8571e0a8b;p=popcorn-js.git [#336] move var decl --- diff --git a/popcorn.js b/popcorn.js index 083f36b..8c98986 100644 --- a/popcorn.js +++ b/popcorn.js @@ -682,7 +682,8 @@ // the definition into Popcorn.p var reserved = [ "start", "end" ], plugin = {}, - setup; + setup, + isfn = typeof definition === "function"; var pluginFn = function ( setup, options ) { @@ -744,7 +745,6 @@ Popcorn.manifest[ name ] = manifest || definition.manifest; } - var isfn = typeof definition === "function"; // Assign new named definition plugin[ name ] = function( options ) { return pluginFn.call( this,