Skip to content

Instantly share code, notes, and snippets.

View drernie's full-sized avatar

Dr. Ernie Prabhakar drernie

View GitHub Profile
@drernie
drernie / rxv.coffee
Last active August 29, 2015 14:07 — forked from eizenberg/rxv
A reactive SVG implementation for reactive-coffee by @yang (originally by @eizenberg)
# As used in http://jsfiddle.net/DrErnie/p09bjgh3/
# Preamble - may need to be in User Code
_.mixin(_.str.exports())
bind = rx.bind
rxt.importTags()
# Create rxv Versions
(function() {
// Do not use this library. This is just a fun example to prove a
// point.
var Bloop = window.Bloop = {};
var mountId = 0;
function newMountId() {
return mountId++;
}