angular-segmentio icon indicating copy to clipboard operation
angular-segmentio copied to clipboard

Make plugin work with segment.io 3.0.0

Open karolk opened this issue 10 years ago • 0 comments

This code no longer tries to mock the analytics object, because when it happens the mock object doesn't get assigned the 'initialized' property correctly. This is also a deprecated flag in segmentio. Instead it uses the presence of analytics as signal to resend the queue of events and start proxying them to the library.

karolk avatar Nov 27 '14 18:11 karolk