Created
January 9, 2012 22:43
-
-
Save joelklabo/1585392 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
// Logging 'load' event | |
this._yammerClient.reportEvent({ | |
success: function(data){ console.log('successfully logged "load"') }, | |
error: function(data){ console.log('failed to log', data) }, | |
data: { | |
events: yam.json.stringify([{ name: 'desktop_session', properties: | |
{ type: 'load', | |
version: this._settings._config.siteVersion.current | |
} | |
}]) | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment