documentcloud/backbone — pull request #1299 by dperrymorrow (2012-05-08 21:22:59+00:00)
Title: Backbone.Singleton

added Backbone.Singleton class so any backbone object can easily _.extend it and become a singleton

````javascript
TestModel = function(){};
_.extend( TestModel, Backbone.Model );
_.extend( TestModel, Backbone.Singleton );

TestModel.getInstance()

// or you can instantiate and assign it

var inst = new TestModel()
TestModel.setInstance(inst);
````