Skip to content

Commit 2199844

Browse files
committed
Update docs
1 parent d173bcb commit 2199844

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

docs/Mixpanel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4316,7 +4316,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Mixpanel.
43164316
<br class="clear">
43174317

43184318
<footer>
4319-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Sep 09 2022 15:21:59 GMT-0700 (Pacific Daylight Time)
4319+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Mon Sep 12 2022 12:35:41 GMT-0700 (Pacific Daylight Time)
43204320
</footer>
43214321

43224322
<script> prettyPrint(); </script>

docs/MixpanelGroup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Mixpanel.
957957
<br class="clear">
958958

959959
<footer>
960-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Sep 09 2022 15:21:59 GMT-0700 (Pacific Daylight Time)
960+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Mon Sep 12 2022 12:35:41 GMT-0700 (Pacific Daylight Time)
961961
</footer>
962962

963963
<script> prettyPrint(); </script>

docs/People.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Mixpanel.
16251625
<br class="clear">
16261626

16271627
<footer>
1628-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Sep 09 2022 15:21:59 GMT-0700 (Pacific Daylight Time)
1628+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Mon Sep 12 2022 12:35:41 GMT-0700 (Pacific Daylight Time)
16291629
</footer>
16301630

16311631
<script> prettyPrint(); </script>

docs/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ <h3>2. Initialize Mixpanel</h3>
9696
<p>To start tracking with the library you must first initialize with your project token. You can get your project token from <a href="https://mixpanel.com/settings/project">project settings</a>.</p>
9797
<pre class="prettyprint source lang-js"><code>import { Mixpanel } from 'mixpanel-react-native';
9898

99-
const mixpanel = new Mixpanel(&quot;Your Project Token&quot;);
99+
const trackAutomaticEvents = true;
100+
const mixpanel = new Mixpanel(&quot;Your Project Token&quot;, trackAutomaticEvents);
100101
mixpanel.init();
101102

102103
</code></pre>
@@ -119,7 +120,8 @@ <h3>Complete Code Example</h3>
119120
import { Button, SafeAreaView } from &quot;react-native&quot;;
120121
import { Mixpanel } from 'mixpanel-react-native';
121122

122-
const mixpanel = new Mixpanel(&quot;Your Project Token&quot;);
123+
const trackAutomaticEvents = true;
124+
const mixpanel = new Mixpanel(&quot;Your Project Token&quot;, trackAutomaticEvents);
123125
mixpanel.init();
124126

125127
const SampleApp = () => {
@@ -176,7 +178,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Mixpanel.
176178
<br class="clear">
177179

178180
<footer>
179-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Sep 09 2022 15:21:59 GMT-0700 (Pacific Daylight Time)
181+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Mon Sep 12 2022 12:35:41 GMT-0700 (Pacific Daylight Time)
180182
</footer>
181183

182184
<script> prettyPrint(); </script>

docs/index.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Mixpanel.
927927
<br class="clear">
928928

929929
<footer>
930-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Fri Sep 09 2022 15:21:59 GMT-0700 (Pacific Daylight Time)
930+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.10</a> on Mon Sep 12 2022 12:35:41 GMT-0700 (Pacific Daylight Time)
931931
</footer>
932932

933933
<script> prettyPrint(); </script>

0 commit comments

Comments
 (0)