Permalink
Browse files

fix to global variable leak due to missing declaration

  • Loading branch information...
1 parent 7d37385 commit 60eab5aa923f271b60ea2dcd11fa699b45e50d7c Paul Frazee committed Feb 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 nodejs/3.3/pubnub.js
View
@@ -116,7 +116,7 @@ function xdr( setup ) {
if (setup.data) {
var params = [];
url += "?";
- for (key in setup.data) {
+ for (var key in setup.data) {
params.push(key+"="+setup.data[key]);
}
url += params.join(PARAMSBIT);

0 comments on commit 60eab5a

Please sign in to comment.