UNPKG

ionic-cordova-gulp-seed

Version:

Ionic & Cordova & Gulp seed with organized code, tests, bower support and some other stuff. Originated from ionic-angular-cordova-seed.

7 lines 1.3 kB
/** * @license Angulartics v0.17.2 * (c) 2013 Luis Farzati http://luisfarzati.github.io/angulartics * Contributed by http://github.com/L42y * License: MIT */ !function(a){"use strict";a.module("angulartics.mixpanel",["angulartics"]).config(["$analyticsProvider",function(a){angulartics.waitForVendorApi("mixpanel",500,"__loaded",function(b){a.registerSetUsername(function(a){b.identify(a)})}),angulartics.waitForVendorApi("mixpanel",500,"__loaded",function(b){a.registerSetAlias(function(a){b.alias(a)})}),angulartics.waitForVendorApi("mixpanel",500,"__loaded",function(b){a.registerSetSuperPropertiesOnce(function(a){b.register_once(a)})}),angulartics.waitForVendorApi("mixpanel",500,"__loaded",function(b){a.registerSetSuperProperties(function(a){b.register(a)})}),angulartics.waitForVendorApi("mixpanel",500,"__loaded",function(b){a.registerSetUserPropertiesOnce(function(a){b.people.set_once(a)})}),angulartics.waitForVendorApi("mixpanel",500,"__loaded",function(b){a.registerSetUserProperties(function(a){b.people.set(a)})}),angulartics.waitForVendorApi("mixpanel",500,"__loaded",function(b){a.registerPageTrack(function(a){b.track("Page Viewed",{page:a})})}),angulartics.waitForVendorApi("mixpanel",500,"__loaded",function(b){a.registerEventTrack(function(a,c){b.track(a,c)})})}])}(angular);