Skip to content

Commit

Permalink
[mozilla#336] move var decl
Browse files Browse the repository at this point in the history
  • Loading branch information
db48x committed Feb 23, 2011
1 parent 4e7b59e commit 6d0c62f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions popcorn.js
Expand Up @@ -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 ) {

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 6d0c62f

Please sign in to comment.