bacon.js for functional reactive programming
https://github.com/raimohanska/bacon.js
<span id="spanbuttonizer">click span text</span>
$("#spanbuttonizer")
.asEventStream("click")
.subscribe(function(event) {
alert("bacon!");
})
</pre></code>
Written by Jari Timonen
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Javascript
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#