flieks
flieks

Reputation: 191

signaler not working (aurelia)

I am using the RC. Signaling was working (i use it alot) but then suddenly it stopped and i don't find why.

you see in this code this.signals is quite empty and doesn't contain my name "machines-fetched" (it has some values from translations

  BindingSignaler.prototype.signal = function signal(name) {
    var bindings = this.signals[name];
    if (!bindings) {
      return;
    }
    var i = bindings.length;
    while (i--) {
      bindings[i].call(_aureliaBinding.sourceContext);
    }
  };

It only contains some value from translation signal. enter image description here

Greetings Felix

Upvotes: 0

Views: 567

Answers (1)

flieks
flieks

Reputation: 191

It seems that i added some piece of code with invalid If.bind that caused the signaling from not working anymore:

 <span class="badge" if.bind="">
        <a  click.trigger="totop()">
           <i class="material-icons" style="font-size:1.2em">&#xE5CE;</i>
        </a>
 </span>

Removing the if.bind="" (or adding a proper variable inside) fixed the problem

Upvotes: 1

Related Questions