app.track => app.instrument to be less confusing
This commit is contained in:
parent
91db7859d8
commit
1c81e4f587
3 changed files with 3 additions and 3 deletions
|
|
@ -74,7 +74,7 @@ var app = {
|
|||
},
|
||||
|
||||
/* mixpanel wrapper function */
|
||||
track : function() {
|
||||
instrument : function() {
|
||||
if(!window.mixpanel) { return }
|
||||
window.mixpanel[arguments[0]](_.toArray(arguments).slice(1))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ app.views.framerControls = app.views.Base.extend({
|
|||
trackPost : function() {
|
||||
var model = this.model
|
||||
|
||||
app.track("Posted", {
|
||||
app.instrument("track", "Posted", {
|
||||
text : model.hasText(),
|
||||
photos : model.hasPhotos(),
|
||||
template : model.get("frame_name")
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ app.views.Post.CanvasFrame = app.views.Post.SmallFrame.extend({
|
|||
_.delay(function(){app.page.stream.trigger("reLayout")}, 200)
|
||||
|
||||
// track the action
|
||||
app.track("track", "Resize Frame")
|
||||
app.instrument("track", "Resize Frame")
|
||||
},
|
||||
|
||||
killPost : function(){
|
||||
|
|
|
|||
Loading…
Reference in a new issue