kopia lustrzana https://github.com/c9/core
22 wiersze
449 B
JavaScript
22 wiersze
449 B
JavaScript
![]() |
/**
|
||
|
* Dummy implementation of analytics.
|
||
|
*/
|
||
|
"use strict";
|
||
|
|
||
|
plugin.consumes = [];
|
||
|
plugin.provides = ["analytics"];
|
||
|
|
||
|
module.exports = plugin;
|
||
|
|
||
|
function plugin(options, imports, register) {
|
||
|
|
||
|
register(null, {
|
||
|
"analytics": {
|
||
|
track: function() {},
|
||
|
identify: function() {},
|
||
|
updateTraits: function() {},
|
||
|
alias: function() {},
|
||
|
logClean: function() {} // huh??
|
||
|
}
|
||
|
});
|
||
|
}
|