Object
Marionette.Object
A base class which other classes can extend from. Object incorporates many backbone conventions and utilities like initialize
and Backbone.Events
.
Documentation Index
Initialize
Initialize is called immediately after the Object has been instantiated, and is invoked with the same arguments that the constructor received.
var Friend = Marionette.Object.extend({
initialize: function登录查看完整内容