From 95a04c80a5463e5256ea36dad2297da47eb03ff6 Mon Sep 17 00:00:00 2001 From: Daniel Brooks Date: Thu, 24 Mar 2011 17:50:19 -0500 Subject: [PATCH] oops, it's very bad form to mess with global variables, especially ones called 'i' --- popcorn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popcorn.js b/popcorn.js index 5a3e8cf..6c6c9d1 100644 --- a/popcorn.js +++ b/popcorn.js @@ -816,7 +816,7 @@ Popcorn.pluginInherit = function( name, parent, definition, manifest ) { function getDefinition( p ) { - for (i in Popcorn.registry) + for (var i in Popcorn.registry) { if ( Popcorn.registry[i].type === p ) { return Popcorn.registry[i].definition; -- 2.43.0