mint-metrics / mojito-js-delivery

🧪 Source-controlled JS split testing framework for building and launching A/B tests.
https://mojito.mx/docs/js-delivery-intro
Other
16 stars 29 forks source link

Allow test objects without trigger functions for remote triggers / MVT split tests #58

Closed kingo55 closed 4 years ago

kingo55 commented 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.

allmywant commented 4 years ago

@kingo55 I think we can remove that check and add another check beore running this.options.trigger(this);.

kingo55 commented 4 years ago

addressed by #77