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