Skip to content

Instantly share code, notes, and snippets.

@yethee
yethee / 1.js
Created February 7, 2012 17:58 — forked from mxriverlynn/1.js
Backbone.Marionette.Callbaks
// Callbacks
// ---------
// A simple way of managing a collection of callbacks
// and executing them at a later point in time, using jQuery's
// `Callbacks` object.
Marionette.Callbacks = function(){
this.callbacks = $.Callbacks("once memory");
};