Created
May 1, 2013 15:05
-
-
Save MikeRatcliffe/5495812 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In toolbox.js: | |
let Telemetry = require("devtools/shared/telemetry"); | |
And in telemetry.js: | |
this.Telemetry = function Telemetry() { | |
this.logOncePerBrowserVersion = this.logOncePerBrowserVersion.bind(this); | |
this.logEvent = this.logEvent.bind(this); | |
this.logId = this.logId.bind(this); | |
this.log = this.log.bind(this); | |
}; | |
module.exports = Telemetry; | |
Telemetry.prototype = { | |
.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment