Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app = MyElmApp.fullscreen()
- myHistoryRecorder = new ElmRings({
- allowDownload: true,
- trackingFrequency: 60 * 1000, // 60 seconds by default
- shouldSendHistory: isLoggedIn(), // or whatever's appropriate, defaults to true
- storeHistory: historyData => {
- // process, upload, make confetti from your history data
- }
- })
- myHistoryRecorder.startTracking();
Add Comment
Please, Sign In to add comment