Bacon.UI.js icon indicating copy to clipboard operation
Bacon.UI.js copied to clipboard

Document required jQuery version

Open wolverian opened this issue 11 years ago • 3 comments

As the title says. (Motivation: we're running some legacy code on jQuery 1.4.something.)

wolverian avatar May 13 '13 14:05 wolverian

I think at least jQuery 1.7 is required, 'cause there is no .on(http://api.jquery.com/on/) method at jQuery 1.4.0, which is used by method .asEventStream in bacon.js.

wolfflow avatar May 14 '13 11:05 wolfflow

@wolfflow Right, thanks. It'd be great if the README clearly stated requirements like these.

wolverian avatar May 14 '13 11:05 wolverian

True that. Btw, it should be fairly simple to support older jQuery versions by monkey-patching the asEventStream method not to use .on.

raimohanska avatar May 14 '13 11:05 raimohanska