Skip to content

Commit

Permalink
Fixed case
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Oct 22, 2016
1 parent 7e131b6 commit 21740ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ahoy.js
Expand Up @@ -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];
}
}
}
Expand Down
1 change: 1 addition & 0 deletions index.html
Expand Up @@ -7,6 +7,7 @@
<script src="ahoy.js"></script>
<script>
ahoy.trackAll();
// ahoy.trackView({hello: "world"});
</script>
</head>
<body>
Expand Down

0 comments on commit 21740ee

Please sign in to comment.