From 7d9aac547f6c3eb4006ab4f274562f77df441f07 Mon Sep 17 00:00:00 2001 From: Vineet Kumar Date: Sun, 17 Jun 2012 00:00:40 -0400 Subject: [PATCH] Fix global variable leak --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 2fdbc1d..8891e1e 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,7 @@ function _addProperty(property_name, conf) { } function _processProperties(collection) { - for(property in collection) { + for(var property in collection) { if(collection.hasOwnProperty(property)) { _addProperty(property, collection); }