text: // blade.js | https://github.com/steve-232/blade.js.git | 1.0
  var blade=function(){};blade.prototype={addSignDefaults:{number:null,sign:",",frequency:3,safeFirstSign:!1,addFirstSign:"",decimals:!1},addSign:function(a){var b=this.merge(this.addSignDefaults,a),c=String(b.number),d=new RegExp("\\"+b.sign,"g"),e=0,f="",g="",h="";for(b.decimals&&(c=String(b.number.toFixed(2)),f=c.slice(-3),c=c.slice(0,-3)),b.safeFirstSign&&(g=c.slice(0,1),c=c.slice(1)),e=0;e<c.length;e+=b.frequency)if(e>0){var i=c.slice(-e);i.length>b.frequency&&(i=i.slice(0,b.frequency)),h=b.sign+i+h}return h=c.slice(0,c.length-h.replace(d,"").length)+h,g+b.addFirstSign+h+f},merge:function(a,b){var c={};for(var d in a)b.hasOwnProperty(d)?c[d]=b[d]:c[d]=a[d];return c},sliceString:function(a,b){var c=a.indexOf(b),d=c+b.length;return 0===c?a.slice(d):a.slice(0,c)+a.slice(d)}};
  