Skip to content

Instantly share code, notes, and snippets.

View Fintan's full-sized avatar

Fintan Fintan

View GitHub Profile
@Fintan
Fintan / BackboneAction.js
Last active August 29, 2015 14:08 — forked from spoike/reflux.js
var Backbone = require('backbone');
exports.createAction = function() {
var action = Backbone.Events,
eventLabel = "action",
functor;
functor = function() {
action.trigger(eventLabel, Array.prototype.slice.call(arguments, 0));