src/observable-hash.js
function ObservableHash(observations) {
  var enabled = true;
  var _observers = [];
  _observers.enabled = true;

  Object.defineProperties(this, {
    _context: { writable: true, value: this },
    _observations: { value: observations },
    _namespaces: { value: [] },
    _observers: { value: _observers },
    computedObservers: { value: _observers } // alias to work with the computed system
  });
}
function ObservableHash(observations) {
  var enabled = true;
  var _observers = [];
  _observers.enabled = true;

  Object.defineProperties(this, {
    _context: { writable: true, value: this },
    _observations: { value: observations },
    _namespaces: { value: [] },
    _observers: { value: _observers },
    computedObservers: { value: _observers } // alias to work with the computed system
  });
}
function ObservableHash ( observations ) { var enabled = true ; var _observers = [ ] ; _observers . enabled = true ; Object . defineProperties ( this , { _context : { writable : true , value : this } , _observations : { value : observations } , _namespaces : { value : [ ] } , _observers : { value : _observers } , computedObservers : { value : _observers } // alias to work with the computed system } ) ; }
An object for storing data to be accessed by an application. Has methods for easily computing and watching data
changes.
@param {Observations} observations An instance of the Observations class this has is bound to
An object for storing data to be accessed by an application . Has methods for easily computing and watching data changes .