docs/assets/app.js
function oneArgumentPooler(copyFieldsFrom) {
  var Klass = this;
  if (Klass.instancePool.length) {
    var instance = Klass.instancePool.pop();
    Klass.call(instance, copyFieldsFrom);
    return instance;
  } else {
    return new Klass(copyFieldsFrom);
  }
}
function oneArgumentPooler(copyFieldsFrom) {
  var Klass = this;
  if (Klass.instancePool.length) {
    var instance = Klass.instancePool.pop();
    Klass.call(instance, copyFieldsFrom);
    return instance;
  } else {
    return new Klass(copyFieldsFrom);
  }
}
function oneArgumentPooler ( copyFieldsFrom ) { var Klass = this ; if ( Klass . instancePool . length ) { var instance = Klass . instancePool . pop ( ) ; Klass . call ( instance , copyFieldsFrom ) ; return instance ; } else { return new Klass ( copyFieldsFrom ) ; } }
Static poolers. Several custom versions for each potential number of
arguments. A completely generic pooler is easy to implement, but would
require accessing the `arguments` object. In each of these, `this` refers to
the Class itself, not an instance. If any others are needed, simply add them
here, or in their own files.
Static poolers . Several custom versions for each potential number of arguments . A completely generic pooler is easy to implement but would require accessing the arguments object . In each of these this refers to the Class itself not an instance . If any others are needed simply add them here or in their own files .