Izmjenjena struktura, dodan backand

This commit is contained in:
GotPPay
2017-10-16 11:19:46 +02:00
parent 1ec88afacb
commit 048e32c4aa
37153 changed files with 2975854 additions and 1 deletions

5
web/node_modules/es5-ext/number/#/index.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
"use strict";
module.exports = {
pad: require("./pad")
};

15
web/node_modules/es5-ext/number/#/pad.js generated vendored Normal file
View File

@@ -0,0 +1,15 @@
"use strict";
var pad = require("../../string/#/pad")
, toPosInt = require("../to-pos-integer")
, toFixed = Number.prototype.toFixed;
module.exports = function (length/*, precision*/) {
var precision;
length = toPosInt(length);
precision = toPosInt(arguments[1]);
return pad.call(precision ? toFixed.call(this, precision) : this,
"0", length + (precision ? 1 + precision : 0));
};