@expressive/mvc 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.esm.js CHANGED
@@ -752,7 +752,8 @@ function factoryMode(self, output, key, required) {
752
752
  }
753
753
 
754
754
  const Oops$7 = issues({
755
- BadSource: (model, property, got) => `Bad from-instruction provided to ${model}.${property}. Expects an arrow-function or a Model as source. Got ${got}.`,
755
+ // BadSource: (model, property, got) =>
756
+ // `Bad from-instruction provided to ${model}.${property}. Expects an arrow-function or a Model as source. Got ${got}.`,
756
757
  PeerNotAllowed: (model, property) => `Attempted to use an instruction result (probably use or tap) as computed source for ${model}.${property}. This is not possible.`,
757
758
  ComputeFailed: (model, key) => `Generating initial value for ${model}.${key} failed.`,
758
759
  NotReady: (model, key) => `Value ${model}.${key} value is not yet available.`,
@@ -768,8 +769,8 @@ function get(arg0, arg1, arg2) {
768
769
  // Easy mistake, using a peer, will always be unresolved.
769
770
  if (typeof arg0 == "symbol")
770
771
  throw Oops$7.PeerNotAllowed(subject, key);
771
- if (typeof arg0 == "function" && /^[A-Z]/.test(arg0.name))
772
- throw Oops$7.BadSource(subject, key, arg0);
772
+ // if(typeof arg0 == "function" && /^[A-Z]/.test(arg0.name))
773
+ // throw Oops.BadSource(subject, key, arg0);
773
774
  this.state.set(key, undefined);
774
775
  const init = () => {
775
776
  let source = this;