Skip to content

Changes for IC work#33

Merged
anru merged 10 commits intomasterfrom
feature/ic-develop
Feb 17, 2017
Merged

Changes for IC work#33
anru merged 10 commits intomasterfrom
feature/ic-develop

Conversation

@mempko
Copy link
Copy Markdown
Contributor

@mempko mempko commented Feb 17, 2017

Provides changes to assist in tracking and user simulation.

@anru anru self-requested a review February 17, 2017 18:49
Copy link
Copy Markdown
Contributor

@anru anru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also in order to get http://foxcomm.github.io/api-js/ updated you should run npm run docs and include modified index.html to PR

Comment thread src/api/analytics.js Outdated
function sphexTrackerUrl(tracker, saltFunction = randomSalt) {
const { channel, subject, verb, obj, objId, count } = tracker;

const realCount = _.isNil(count) ? 1 : count;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets get rid of lodash dependency. We can test for null and undefined without whole of lodash library:

const { channel, subject, verb, obj, objId, count = 1 } = tracker;

@anru
Copy link
Copy Markdown
Contributor

anru commented Feb 17, 2017

looks good now

@anru anru merged commit 2f9d0ac into master Feb 17, 2017
@anru anru deleted the feature/ic-develop branch February 17, 2017 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants