Skip to content

Commit

Permalink
[mozilla#271] Plugin Factory bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron authored and annasob committed Jan 20, 2011
1 parent 945483c commit d6b8ab1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions popcorn.js
Expand Up @@ -626,7 +626,7 @@
// the definition into Popcorn.p

var reserved = [ "start", "end"],
plugin = {type: name},
plugin = {},
pluginFn,
setup;

Expand Down Expand Up @@ -716,7 +716,9 @@
Popcorn.extend( Popcorn.p, plugin );

// Push into the registry
Popcorn.registry.push(plugin);
Popcorn.registry.push( Popcorn.extend( plugin, {
type: name
}) );


if ( !!( "manifest" in setup ) ) {
Expand Down

0 comments on commit d6b8ab1

Please sign in to comment.