Permalink
Browse files

dont make variable global

  • Loading branch information...
1 parent ece2739 commit a3b4e7b7ab71bbd8bdb2ba31a4f9e221c9d3eb5e @senorpedro senorpedro committed Feb 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/utils.js
View
2 lib/utils.js
@@ -44,7 +44,7 @@ exports.buffer = function buffer(type,path,stream,output){
* @return The parsed content.
*/
function parse(type,buf,len){
- for( key in parse )
+ for(var key in parse )
if( ~type.indexOf(key) )
return parse[key](buf,len);
return false;

0 comments on commit a3b4e7b

Please sign in to comment.