Closed kingo55 closed 4 years ago
There are a few cases where we wouldn't need a trigger function for experiments e.g.:
However we fire an error when a testObject doesn't have a trigger function. This was originally by design, but it's probably worth revisiting in case we build more experiments like the above.
@kingo55 I think we can remove that check and add another check beore running this.options.trigger(this);.
this.options.trigger(this);
addressed by #77
There are a few cases where we wouldn't need a trigger function for experiments e.g.:
However we fire an error when a testObject doesn't have a trigger function. This was originally by design, but it's probably worth revisiting in case we build more experiments like the above.