Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Made currentParam a local variable

  • Loading branch information...
commit 2f466ec07fdb97ff547f965b614f2d2bf36e8100 1 parent 3f8a5d3
@gomfunkel authored
View
1  lib/mailchimp/MailChimpAPI_v1_1.js
@@ -42,6 +42,7 @@ module.exports = MailChimpAPI_v1_1;
MailChimpAPI_v1_1.prototype.execute = function (method, availableParams, givenParams, callback) {
var finalParams = { apikey : this.apiKey };
+ var currentParam;
for (var i = 0; i < availableParams.length; i++) {
currentParam = availableParams[i];
View
1  lib/mailchimp/MailChimpAPI_v1_2.js
@@ -42,6 +42,7 @@ module.exports = MailChimpAPI_v1_2;
MailChimpAPI_v1_2.prototype.execute = function (method, availableParams, givenParams, callback) {
var finalParams = { apikey : this.apiKey };
+ var currentParam;
for (var i = 0; i < availableParams.length; i++) {
currentParam = availableParams[i];
View
1  lib/mailchimp/MailChimpAPI_v1_3.js
@@ -42,6 +42,7 @@ module.exports = MailChimpAPI_v1_3;
MailChimpAPI_v1_3.prototype.execute = function (method, availableParams, givenParams, callback) {
var finalParams = { apikey : this.apiKey };
+ var currentParam;
for (var i = 0; i < availableParams.length; i++) {
currentParam = availableParams[i];
View
1  lib/mailchimp/MailChimpExportAPI_v1_0.js
@@ -46,6 +46,7 @@ MailChimpExportAPI_v1_0.prototype.execute = function (method, availableParams, g
var self = this;
var finalParams = { apikey : this.apiKey };
+ var currentParam;
for (var i = 0; i < availableParams.length; i++) {
currentParam = availableParams[i];
View
1  lib/mailchimp/MailChimpSTSAPI_v1_0.js
@@ -44,6 +44,7 @@ module.exports = MailChimpSTSAPI_v1_0;
MailChimpSTSAPI_v1_0.prototype.execute = function (method, availableParams, givenParams, callback) {
var finalParams = [ 'apikey=' + encodeURIComponent(this.apiKey) ];
+ var currentParam;
for (var i = 0; i < availableParams.length; i++) {
currentParam = availableParams[i];
View
1  lib/mailchimp/MandrillAPI_v1_0.js
@@ -41,6 +41,7 @@ module.exports = MandrillAPI_v1_0;
MandrillAPI_v1_0.prototype.execute = function (method, availableParams, givenParams, callback) {
var finalParams = { key : this.apiKey };
+ var currentParam;
for (var i = 0; i < availableParams.length; i++) {
currentParam = availableParams[i];
Please sign in to comment.
Something went wrong with that request. Please try again.