Skip to content

Commit 8a51ef2

Browse files
author
Tim Trefren
committed
Merge pull request #6 from drmarshall/master
corrected non-required .init params
2 parents 54af551 + 28041e7 commit 8a51ef2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mixpanel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1843,8 +1843,8 @@ Globals should be all caps
18431843
* mixpanel.library_name.track(...)
18441844
*
18451845
* @param {String} token Your Mixpanel API token
1846-
* @param {Object} config A dictionary of config options to override
1847-
* @param {String} name The name for the new mixpanel instance that you want created
1846+
* @param {Object} [config] A dictionary of config options to override
1847+
* @param {String} [name] The name for the new mixpanel instance that you want created
18481848
*/
18491849
MixpanelLib.prototype.init = function (token, config, name) {
18501850
if (typeof(name) === "undefined") {

0 commit comments

Comments
 (0)