// Backbone.Compute, v0.0.1 // Copyright (c)2012 Derick Bailey, Muted Solutions, LLC. // Distributed under MIT license // http://github.com/derickbailey/backbone.compute Backbone.Compute=function(e,t){function n(e){for(var t in e){var n=e[t];n&&n.fields&&n.compute&&(e[t]=r(t,n.fields,n.compute),e[t].call(e))}}function r(e,n,r){n=t.flatten([n]);var i=n.length,s=function(){var t={};for(var s=0;s