padma-assets 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ac41b0723b4146d205844cd040a76eb8d9f70cb
4
- data.tar.gz: fb2b50c28040bd891b19aa86ac637b9d0f48faae
3
+ metadata.gz: a1e9a8db37978c8eea3c23623365e525c4ab650f
4
+ data.tar.gz: afad1a900d926d01d471ef13a349871b26d9fcd3
5
5
  SHA512:
6
- metadata.gz: 6cc386496ff98261e3350df1f6bad85dbf06e52e6c14d5d5325cda11f9010bcd5a82c4359b4d22dab9609b88e250be622df4fd80ec14674e4ce7d96316b289fb
7
- data.tar.gz: f6d6bd063afc84a2d10b5749104d5a121f23a545acf9e285082364fbaa9e6d29313a9488ad3756fe5250eee33b5817401b553e4c217ad2719b7469097e5c7a04
6
+ metadata.gz: 2d1758c58e8a5d79dac14bbe3f690f7e7038d42fa79d3a084d94a939d8ffe746ab893e2efd6c144512fe34034dc5f3dd30eb22865bd5b4904a3c603623e6f739
7
+ data.tar.gz: ea0a2709e2ef8bd6798f8256b0cd8c0506254c6266e273bc89e325409fdaf8d37b40e92cd46c69bac103cf52a5ed1fcb1557535d210a86b180347d6901048a11
@@ -0,0 +1,14 @@
1
+ (function(f,b){if(!b.__SV){var a,e,i,g;window.mixpanel=b;b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
2
+ for(g=0;g<i.length;g++)f(c,i[g]);b._i.push([a,e,d])};b.__SV=1.2;a=f.createElement("script");a.type="text/javascript";a.async=!0;a.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";e=f.getElementsByTagName("script")[0];e.parentNode.insertBefore(a,e)}})(document,window.mixpanel||[]);
3
+
4
+ var productionHost = 'padm.am';
5
+ // var devToken = 'Development Token';
6
+ var prodToken = "8a41f28fa506ef453bec6df49eb4c18c";
7
+ /* If the hostname is anything other than your production domain, initialize the Mixpanel library with your Development Token */
8
+ if (window.location.hostname.toLowerCase().search(productionHost) < 0) {
9
+ // mixpanel.init(devToken);
10
+ } else {
11
+ mixpanel.init(prodToken);
12
+ }
13
+
14
+ mixpanel.init();
@@ -0,0 +1,3 @@
1
+ @registerEvent = (eventName,options) ->
2
+ mixpanel.track(eventName);
3
+ # TODO intercom event
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padma-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dwayne Macgowan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-28 00:00:00.000000000 Z
11
+ date: 2015-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -62,8 +62,10 @@ files:
62
62
  - app/assets/javascripts/jquery.ba-throttle-debounce.min.js
63
63
  - app/assets/javascripts/jquery.gritter.min.js
64
64
  - app/assets/javascripts/jquery.stickyheader.js
65
+ - app/assets/javascripts/mixpanel.js
65
66
  - app/assets/javascripts/notifications.js.coffee
66
67
  - app/assets/javascripts/padma-assets.js
68
+ - app/assets/javascripts/ux-events.js.coffee
67
69
  - app/assets/stylesheets/bootstrap3-3-2.min.css
68
70
  - app/assets/stylesheets/button.css.scss
69
71
  - app/assets/stylesheets/colors.css.scss