lib/base.js
function(prop) {
    var opt = this.option(prop);
    if (typeof opt === 'undefined') {
      return this.app && this.app.option ? this.app.option(prop) : null;
    }
    return opt;
  }
function(prop) {
    var opt = this.option(prop);
    if (typeof opt === 'undefined') {
      return this.app && this.app.option ? this.app.option(prop) : null;
    }
    return opt;
  }
function ( prop ) { var opt = this . option ( prop ) ; if ( typeof opt === 'undefined' ) { return this . app && this . app . option ? this . app . option ( prop ) : null ; } return opt ; }
Get an option from either the view, collection, or app instance,
in that order.

@param  {String} prop Property name. Dot notation may be used.
@return {any}
@api public
Get an option from either the view collection or app instance in that order .