Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

add support for mixpanel and fixed test #7

Merged
merged 1 commit into from
Dec 29, 2015
Merged

Conversation

junyuan-qi
Copy link
Collaborator

No description provided.

target[fn] = ->
target.push([fn].concat(slice.call(arguments)))

functions = 'disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.set_once people.increment people.append people.track_charge people.clear_charges people.delete_user'.split(' ')
Copy link
Contributor

Choose a reason for hiding this comment

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

You should define these methods as an Array just like:

https://github.com/teambition/gta/blob/master/src/index.coffee#L179

It would be clearer in format and better in performance.

@Brooooooklyn
Copy link
Contributor

Could you please run grunt task before your code commited

@Brooooooklyn Brooooooklyn merged commit 8f478b7 into master Dec 29, 2015
@Brooooooklyn
Copy link
Contributor

landed as 2cd2b9b

@Brooooooklyn Brooooooklyn deleted the recover-mixpanel branch December 29, 2015 13:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants