crowdstart-analytics
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -29,3 +29,3 @@ // Generated by CoffeeScript 1.9.3 | ||
Analytics.prototype.initialize = function(opts) { | ||
var constructor, i, instance, integration, len, results; | ||
var constructor, i, instance, integration, len, ref, results; | ||
if (opts == null) { | ||
@@ -38,5 +38,6 @@ opts = {}; | ||
} | ||
ref = opts.integrations; | ||
results = []; | ||
for (i = 0, len = integrations.length; i < len; i++) { | ||
integration = integrations[i]; | ||
for (i = 0, len = ref.length; i < len; i++) { | ||
integration = ref[i]; | ||
constructor = require('./integrations/' + integration.type); | ||
@@ -43,0 +44,0 @@ instance = new constructor(integration); |
// Generated by CoffeeScript 1.9.3 | ||
var analyitcs, item, method, ref, stub; | ||
var analytics, item, method, ref, stub; | ||
stub = (ref = window.analytics) != null ? ref : []; | ||
window.analytics = analyitcs = new (require('./analytics')); | ||
window.analytics = analytics = new (require('./analytics')); | ||
@@ -8,0 +8,0 @@ analytics.initialize({}); |
{ | ||
"name": "crowdstart-analytics", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"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
139276
1829