AnsweredAssumed Answered

Documentation clarification needed for initialize function of custom record.js

Question asked by Jeff Bickart on Feb 28, 2016

While reviewing the documentation for extending a record.js I see two different methods to initialize the code.

 initialize: function (options) {
    this._super('initialize', [options]);
}

initialize: function (options) { 
  app.view.invokeParent(this, {type: 'view', name: 'record', method: 'initialize', args:[options]});
}

What are the pros/cons of using each of the options?

Outcomes