Built files from Bizgaze WebServer
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

sammy.mixpanel-latest.min.js 825B

12345
  1. // -- Sammy.js -- /plugins/sammy.mixpanel.js
  2. // http://sammyjs.org
  3. // Version: 0.7.6
  4. // Built: 2014-08-26 10:45:32 +0300
  5. (function(factory){if(typeof define==="function"&&define.amd){define(["jquery","sammy"],factory)}else{(window.Sammy=window.Sammy||{}).Flash=factory(window.jQuery,window.Sammy)}})(function($,Sammy){Sammy.Mixpanel=function(app){var shouldTrack=true;function disableTracking(){shouldTrack=false}function enableTracking(){shouldTrack=true}this.helpers({doNotTrackMixpanel:function(){disableTracking()},trackMixpanel:function(path){if(typeof window.mixpanel!="undefined"&&shouldTrack){this.log("tracking mixpanel",path);window.mixpanel.track(path)}}});this.bind("event-context-after",function(){var path=this.app.last_location[1];if(path){this.trackMixpanel(path);enableTracking()}})};return Sammy.Mixpanel});