lib/game/observable-arrays.js
function getSubscribableForArray(ko, array) {
  var subscribable = array._subscribable;
  var signal = {};

  if (!subscribable) {
    subscribable = array._subscribable = new ko.subscribable();

    wrapStandardArrayMutators(array, subscribable, signal);
    addKnockoutArrayMutators(ko, array, subscribable, signal);
  }

  return subscribable;
}
function getSubscribableForArray(ko, array) {
  var subscribable = array._subscribable;
  var signal = {};

  if (!subscribable) {
    subscribable = array._subscribable = new ko.subscribable();

    wrapStandardArrayMutators(array, subscribable, signal);
    addKnockoutArrayMutators(ko, array, subscribable, signal);
  }

  return subscribable;
}
function getSubscribableForArray ( ko , array ) { var subscribable = array . _subscribable ; var signal = { } ; if ( ! subscribable ) { subscribable = array . _subscribable = new ko . subscribable ( ) ; wrapStandardArrayMutators ( array , subscribable , signal ) ; addKnockoutArrayMutators ( ko , array , subscribable , signal ) ; } return subscribable ; }
Gets or creates a subscribable that fires after each array mutation
Gets or creates a subscribable that fires after each array mutation