Guest User

Untitled

a guest
Jun 18th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. app = MyElmApp.fullscreen()
  2. myHistoryRecorder = new ElmRings({
  3. allowDownload: true,
  4. trackingFrequency: 60 * 1000, // 60 seconds by default
  5. shouldSendHistory: isLoggedIn(), // or whatever's appropriate, defaults to true
  6. storeHistory: historyData => {
  7. // process, upload, make confetti from your history data
  8. }
  9. })
  10. myHistoryRecorder.startTracking();
Add Comment
Please, Sign In to add comment