examples/flux-todo-riot/bundle.js
function inheritFrom(target, propsInSyncWithParent) {
  var this$1 = this;

  each(Object.keys(target), function (k) {
    // some properties must be always in sync with the parent tag
    var mustSync = !isReservedName(k) && contains(propsInSyncWithParent, k);

    if (isUndefined(this$1[k]) || mustSync) {
      // track the property to keep in sync
      // so we can keep it updated
      if (!mustSync) { propsInSyncWithParent.push(k); }
      this$1[k] = target[k];
    }
  });
}
function inheritFrom(target, propsInSyncWithParent) {
  var this$1 = this;

  each(Object.keys(target), function (k) {
    // some properties must be always in sync with the parent tag
    var mustSync = !isReservedName(k) && contains(propsInSyncWithParent, k);

    if (isUndefined(this$1[k]) || mustSync) {
      // track the property to keep in sync
      // so we can keep it updated
      if (!mustSync) { propsInSyncWithParent.push(k); }
      this$1[k] = target[k];
    }
  });
}
function inheritFrom ( target , propsInSyncWithParent ) { var this$1 = this ; each ( Object . keys ( target ) , function ( k ) { // some properties must be always in sync with the parent tag var mustSync = ! isReservedName ( k ) && contains ( propsInSyncWithParent , k ) ; if ( isUndefined ( this$1 [ k ] ) || mustSync ) { // track the property to keep in sync // so we can keep it updated if ( ! mustSync ) { propsInSyncWithParent . push ( k ) ; } this$1 [ k ] = target [ k ] ; } } ) ; }
Inherit properties from a target tag instance
@this Tag
@param   { Tag } target - tag where we will inherit properties
@param   { Array } propsInSyncWithParent - array of properties to sync with the target
Inherit properties from a target tag instance