diff --git a/dist/subtotal.js b/dist/subtotal.js index d4cdc99..68080bc 100644 --- a/dist/subtotal.js +++ b/dist/subtotal.js @@ -1,6 +1,18 @@ (function() { var callWithJQuery, - extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, + extend = function(child, parent) { + for (var key in parent) { + if (hasProp.call(parent, key)) + child[key] = parent[key]; + } + function ctor() { + this.constructor = child; + } + child.prototype = parent.prototype; + ctor.prototype = child.prototype; + child.__super__ = parent.prototype; + return child; + }, hasProp = {}.hasOwnProperty, slice = [].slice;