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 +4 -4
- data/app/assets/javascripts/mixpanel.js +14 -0
- data/app/assets/javascripts/ux-events.js.coffee +3 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1e9a8db37978c8eea3c23623365e525c4ab650f
|
4
|
+
data.tar.gz: afad1a900d926d01d471ef13a349871b26d9fcd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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();
|
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.
|
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-
|
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
|