Just some common functions needed in multiple places within the library.
Simple deep clone for arrays & objects.
Pick off the attributes from only the current layer of the object.
The function name says it all.
Sorts an object based on the names.
The standard Backbone.js extend method, for some nice
"sugar" on proper prototypal inheritance.
The constructor function for the new subclass is either defined by you
(the "constructor" property in your extend definition), or defaulted
by us to simply call the parent's constructor.
Add static properties to the constructor function, if supplied.
Set the prototype chain to inherit from parent, without calling
parent's constructor function.
Add prototype properties (instance properties) to the subclass, if supplied.
Set a convenience property in case the parent's prototype is needed later.
The format function is borrowed from the Node.js utils module,
since we want to be able to have this functionality on the
frontend as well.
Regex used in the Helpers.format function.
Helpers