From 21740ee8d725793b093a9f49ce53b0d52ebc6a31 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sat, 22 Oct 2016 11:31:33 -0700 Subject: [PATCH] Fixed case --- ahoy.js | 6 +++--- index.html | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ahoy.js b/ahoy.js index 1d5ff7af..074c730c 100644 --- a/ahoy.js +++ b/ahoy.js @@ -335,9 +335,9 @@ }; if (additionalProperties) { - for(var attr_name in additionalProperties) { - if (additionalProperties.hasOwnProperty(attr_name)) { - properties[attr_name] = additionalProperties[attr_name]; + for(var propName in additionalProperties) { + if (additionalProperties.hasOwnProperty(propName)) { + properties[propName] = additionalProperties[propName]; } } } diff --git a/index.html b/index.html index ac55e905..01490ad0 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,7 @@