Closed kingo55 closed 4 years ago
Consider this default to 'staging' protection we built in a while back:
https://github.com/kingo55/mojito-js-delivery/blob/9f313bd1ba59f1f8dcb80cc4df41b6b02b08f28c/lib/mojito.js#L75-L77
Wouldn't this be better placed in the object extension here?:
this.options = Utils.extend({ id: null, name: null, recipes: null, sampleRate: 1.0, storageAdapter: null, decisionAdapter: null, trigger: null }, options);
addressed by #77
Consider this default to 'staging' protection we built in a while back:
https://github.com/kingo55/mojito-js-delivery/blob/9f313bd1ba59f1f8dcb80cc4df41b6b02b08f28c/lib/mojito.js#L75-L77
Wouldn't this be better placed in the object extension here?: