forked from pabloLagioia/boostjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
boost-min.js
1 lines (1 loc) · 884 Bytes
/
boost-min.js
1
(function(){function e(e,t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}function t(e,t,n){if(!e.hasOwnProperty(n)){Object.defineProperty(e,n,{writable:true,enumerable:false,configurable:false,value:t})}}t(Function.prototype,function(t){e(this,t)},"inherits");t(Object.prototype,function(){return JSON.stringify(this)},"toJson");t(Object.prototype,function(){return JSON.parse(JSON.stringify(this))},"clone");t(String.prototype,function(e){return this.indexOf(e)!=-1},"contains");t(String.prototype,function(e,t){var n=new RegExp(e,"g");return this.replace(n,t)},"replaceAll");t(Array.prototype,function(e){return this.indexOf(e)!=-1},"contains");t(Array.prototype,function(e){var t=this.indexOf(e);if(t>-1){return this.splice(t,1)}},"remove");t(Array.prototype,function(){return this.slice()},"clone")})()