在以下示例中,我将如何访问在回调函数中触发“change:guid”事件的模型?
Entry = Backbone.Model.extend({
defaults: {
db: 'not specified',
guid: 'not specified'
},
initialize: function ()
{
this.on("change:guid", function (e) {
alert(" guid changed!!!!!");
//access model here
});
}
});