crowdstart-analytics
Advanced tools
Comparing version 0.2.8 to 0.2.9
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var Analytics, Integration; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var analytics, item, method, ref, stub; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
module.exports = { | ||
@@ -3,0 +3,0 @@ Analytics: require('./analytics'), |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var Integration, loadIframe, loadImg, loadScript; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var FacebookAudiences, Integration, | ||
@@ -3,0 +3,0 @@ extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var FacebookConversions, Integration, | ||
@@ -3,0 +3,0 @@ extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, |
@@ -1,3 +0,3 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
var Generic, Integration, | ||
// Generated by CoffeeScript 1.10.0 | ||
var Generic, Integration, isFunction, | ||
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
@@ -8,2 +8,4 @@ hasProp = {}.hasOwnProperty; | ||
isFunction = require('is-function'); | ||
module.exports = Generic = (function(superClass) { | ||
@@ -34,2 +36,3 @@ extend(Generic, superClass); | ||
Generic.prototype.track = function(event, props, opts, cb) { | ||
var ref, ref1; | ||
if (cb == null) { | ||
@@ -42,3 +45,5 @@ cb = function() {}; | ||
this.log('Generic.track', this.opts.name, event, props, opts); | ||
return this.opts.fn(event, props, opts, cb); | ||
if (isFunction((ref = this.opts) != null ? ref.fn : void 0)) { | ||
return (ref1 = this.opts) != null ? ref1.fn(event, props, opts, cb) : void 0; | ||
} | ||
}; | ||
@@ -45,0 +50,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var GoogleAdWords, Integration, | ||
@@ -3,0 +3,0 @@ extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var GoogleAnalytics, Integration, parseCurrency, parseValue, payload, | ||
@@ -3,0 +3,0 @@ extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
module.exports = { | ||
@@ -3,0 +3,0 @@ Generic: require('./generic'), |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var onload; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var onload; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
var onload; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
(function(window, document, src) { | ||
@@ -3,0 +3,0 @@ var analytics, first, fn, i, len, method, ref, script; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.3 | ||
// Generated by CoffeeScript 1.10.0 | ||
exports.onload = function(el, cb) { | ||
@@ -3,0 +3,0 @@ var add, attach; |
{ | ||
"name": "crowdstart-analytics", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"description": "Analytics support for Crowdstart.", | ||
@@ -40,2 +40,3 @@ "main": "lib", | ||
"dependencies": { | ||
"is-function": "1.0.1", | ||
"load-iframe": "^1.0.0", | ||
@@ -42,0 +43,0 @@ "load-script": "^1.0.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
155806
2029
3
+ Addedis-function@1.0.1
+ Addedis-function@1.0.1(transitive)