vigour-io / state

Change and state management
ISC License
3 stars 1 forks source link

stamp is not a function #135

Closed mstdokumaci closed 8 years ago

mstdokumaci commented 8 years ago

v4.4.0

Happens in the browser.

const s = require('vigour-state/s')
module.exports = s({any: 'any'})

Throws: TypeError: stamp is not a function On this line of base/setKey: return this.properties[prop].call(this, val, stamp, resolve, nocontext, prop); Touches also this line of base constructor: this.set(val, stamp, true, true);

After adding an empty function:

module.exports = s({any: 'any'}, () => {})

Everything goes back to normal.

jimdebeer commented 8 years ago

cant recreate in the state repo where did this happen exactly?

jimdebeer commented 8 years ago

Issue moved to vigour-io/ploy #4 via ZenHub