summaryrefslogtreecommitdiff
path: root/src/history.js
AgeCommit message (Collapse)Author
2014-12-16moving files around after repository mergerAlon Levy
2014-12-01fix broken loadAlon Levy
2014-11-29history: record input fieldAlon Levy
2014-11-29use Bacon instead of signalAlon Levy
See https://github.com/baconjs/bacon.js Usage right now: we have rz_bus to hold global busses: - names: for autosuggest - ui busses: - ui_key - ui_input The events are objects with {where: from consts, keys/input} (could maybe just use the events and rely on the target element class/id) And graph has it's own bus: graph.diffBus (camelcase probably not the right style - will fix in later commit) To publish to a bus you use push. To insert another stream to a bus you use plug. To listen to a bus you use onValue (you can use subscribe too to get errors and end of stream event, but we don't use that yet). This allows usage of map, filter, flatMap, see github repo for cool examples.
2014-11-29history: small style fixAlon Levy
2014-11-29history: don't throw on bad input (it's just history)Alon Levy
2014-11-29history: use strictAlon Levy
2014-11-13rename scripts/ -> src/LV-426