Skip to content

Commit

Permalink
Merge pull request #167 from snowplow/feature/1.0.1
Browse files Browse the repository at this point in the history
Feature/1.0.1
  • Loading branch information
alexanderdean committed Apr 9, 2014
2 parents 9a1f7e5 + 2b296e3 commit b0d5ff1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Version 1.0.1 (2014-04-09)
--------------------------
Fixed lodash.js to work in the presence of AMD modules (#165)
Added missing variable declarations (#166)

Version 1.0.0 (2014-03-27)
--------------------------
Added extra meta-data to package.json (#83)
Expand Down
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ module.exports = function(grunt) {
build: {
dest: 'src/js/lib/lodash.js',
options: {
exports: 'node',
include: 'isArray, isFunction, isString, isObject, isDate, isUndefined, isNull',
flags: ['debug']
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "snowplow-tracker",
"version": "1.0.0",
"version": "1.0.1",
"devDependencies": {
"grunt": "~0.4.2",
"intern": "~1.4.0",
Expand Down
2 changes: 1 addition & 1 deletion src/js/lib/detectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
var
lodash = require('./lodash'),
helpers = require('./helpers'),
cookie = require('./cookie')
cookie = require('./cookie'),
murmurhash3_32_gc = require('murmurhash').v3,
tz = require('jstimezonedetect').jstz.determine(),

Expand Down
2 changes: 1 addition & 1 deletion src/js/payload.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
function recurse(json) {
var translated = {};
for (var prop in json) {
var key = prop, value = json[prop];
var key = prop, value = json[prop], type;

// Special treatment...
if (json.hasOwnProperty(key)) {
Expand Down
6 changes: 3 additions & 3 deletions src/js/tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@
sb.add('se_pr', property);
sb.add('se_va', value);
sb.addJson('cx', 'co', context);
request = getRequest(sb, 'structEvent');
var request = getRequest(sb, 'structEvent');
sendRequest(request, configTrackerPause);
}

Expand All @@ -736,7 +736,7 @@
sb.add('ue_na', name);
sb.addJson('ue_px', 'ue_pr', properties);
sb.addJson('cx', 'co', context);
request = getRequest(sb, 'unstructEvent');
var request = getRequest(sb, 'unstructEvent');
sendRequest(request, configTrackerPause);
}

Expand Down Expand Up @@ -843,7 +843,7 @@
sb.add('ad_ad', advertiserId);
sb.add('ad_uid', userId);
sb.addJson('cx', 'co', context);
request = getRequest(sb, 'impression');
var request = getRequest(sb, 'impression');
sendRequest(request, configTrackerPause);
}

Expand Down

0 comments on commit b0d5ff1

Please sign in to comment.