File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
integrations/visual-tagger Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 33 */
44var integration = require ( '@segment/analytics.js-integration' ) ;
55var TracktorLib = require ( '@segment/tracktor' ) ;
6+ var when = require ( 'do-when' ) ;
67
78/**
89 * Expose `Visual Tagger` integration.
@@ -27,6 +28,8 @@ Tracktor.prototype.initialize = function() {
2728 ) ;
2829 window . Tracktor = TracktorLib ;
2930
31+ when ( this . loaded , this . ready ) ;
32+
3033 tracktor . start ( ) ;
3134} ;
3235
Original file line number Diff line number Diff line change 11{
22 "name" : " @segment/analytics.js-integration-visual-tagger" ,
3- "version" : " 0.1.4 " ,
3+ "version" : " 0.1.5 " ,
44 "description" : " The Visual Tagger analyticsjs integration" ,
55 "main" : " lib/index.js" ,
66 "scripts" : {
1010 "author" : " " ,
1111 "license" : " ISC" ,
1212 "dependencies" : {
13- "@segment/tracktor" : " 0.6.2"
13+ "@segment/tracktor" : " 0.6.2" ,
14+ "do-when" : " ^1.0.0"
1415 }
1516}
You can’t perform that action at this time.
0 commit comments