From 6d0c62ffd37e461075e31a4beac1e0a8571e0a8b Mon Sep 17 00:00:00 2001 From: Daniel Brooks Date: Wed, 23 Feb 2011 15:19:09 -0600 Subject: [PATCH] [#336] move var decl --- popcorn.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.43.0