Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate the class method init() and improve the example #76

Merged
merged 1 commit into from
Jul 28, 2021

Conversation

zihejia
Copy link
Collaborator

@zihejia zihejia commented Jul 27, 2021

Deprecating the class method init(). To initialize Mixpanel, please use the instance method init() instead. See the example below:

   const mixpanel = new Mixpanel('your project token');
   mixpanel.init();

@zihejia zihejia force-pushed the fix-examples branch 2 times, most recently from 952fd09 to f50b95d Compare July 27, 2021 22:05
Copy link
Collaborator

@jaredmixpanel jaredmixpanel left a comment

Choose a reason for hiding this comment

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

lgtm

@zihejia zihejia merged commit 164c045 into master Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants