flyd
flyd copied to clipboard
The example multiple-clicks throw an error
Hi,
The example multiple-clicks doesn't works.
It throw an error because it uses require('flyd-aftersilence')
https://github.com/paldepind/flyd/blob/master/examples/multiple-clicks/script.js#L2
This is because this npm module has the dependency "flyd": "0.1.x"
https://github.com/paldepind/flyd-aftersilence/blob/master/package.json#L31
The example need to require the internal module instead
require('flyd/module/aftersilence')
It worked fine with me, even with this outdated code.