crowdstart-analytics
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -32,15 +32,13 @@ // Generated by CoffeeScript 1.9.3 | ||
GoogleAnalytics.prototype.init = function() { | ||
var ga; | ||
if (window.ga != null) { | ||
return; | ||
window.GoogleAnalyticsObject = 'ga'; | ||
if (window.ga == null) { | ||
window.ga = function() { | ||
var base; | ||
if ((base = window.ga).q == null) { | ||
base.q = []; | ||
} | ||
window.ga.q.push(arguments); | ||
}; | ||
} | ||
window.GoogleAnalyticsObject = 'ga'; | ||
ga = function() { | ||
if (ga.q == null) { | ||
ga.q = []; | ||
} | ||
ga.q.push(arguments); | ||
}; | ||
ga.l = 1 * new Date(); | ||
window.ga = ga; | ||
return ga('create', this.opts.id, 'auto'); | ||
@@ -47,0 +45,0 @@ }; |
{ | ||
"name": "crowdstart-analytics", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Analytics support for Crowdstart.", | ||
@@ -5,0 +5,0 @@ "main": "lib", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
148378
1941