Pub-Mix is a project mainly written in JavaScript, it's free.
A Javascript custom events micro-framework
A custom events micro-framework. Note: this does not handle DOM events, just user defined ones.
PubMix.on(window, "userStateChanged", function (user) { console.log("The user is now ", user.name); })
.. later
PubMix.fire(window, "userStateChanged", [{name: "Rob"}])
ender -b qwery,pub-mix
var ns = {}
function handleClickedCell () {}
$(ns).on("cellClicked", handleClickedCell)
$(ns).fire("cellClicked")
$(ns).off("cellClicked", handleClickedCell)
$.on(ns, "anything", function(){})
npm install pub-mix
var pubmix = require("pub-mix")
pubmix.on(anything, "something", function(){})
sudo npm install --global zap
zap test.js
PubMix.on(namespace, eventName, function)
PubMix.fire(namespace, eventName[, [arg1, arg2, ...]])
PubMix.off(namespace, eventName, function)
var myNamedPubMix = PubMix.noConflict()