schnee effeckt und fehler Korektur

This commit is contained in:
2023-08-14 17:52:24 +02:00
parent 4a843d4936
commit 79af4e9907
6813 changed files with 343821 additions and 356128 deletions

View File

@@ -2,6 +2,6 @@
var indexOf = String.prototype.indexOf;
module.exports = function (searchString/*, position*/) {
module.exports = function (searchString /*, position*/) {
return indexOf.call(this, searchString, arguments[1]) > -1;
};

View File

@@ -6,7 +6,7 @@ var toInteger = require("../../../number/to-integer")
, min = Math.min
, max = Math.max;
module.exports = function (searchString/*, endPosition*/) {
module.exports = function (searchString /*, endPosition*/) {
var self, start, endPos;
self = String(value(this));
searchString = String(searchString);

View File

@@ -5,7 +5,7 @@ var isValue = require("../../object/is-value")
, replace = String.prototype.replace
, re = /(\r\n|[\n\r\u2028\u2029])([\u0000-\u0009\u000b-\uffff]+)/g;
module.exports = function (indent/*, count*/) {
module.exports = function (indent /*, count*/) {
var count = arguments[1];
indent = repeat.call(String(indent), isValue(count) ? count : 1);
return indent + replace.call(this, re, "$1" + indent + "$2");

View File

@@ -6,7 +6,7 @@ var toInteger = require("../../number/to-integer")
, abs = Math.abs
, max = Math.max;
module.exports = function (fill/*, length*/) {
module.exports = function (fill /*, length*/) {
var self = String(value(this)), sLength = self.length, length = arguments[1];
length = isNaN(length) ? 1 : toInteger(length);

View File

@@ -5,7 +5,7 @@ var value = require("../../../object/valid-value")
, max = Math.max
, min = Math.min;
module.exports = function (searchString/*, position*/) {
module.exports = function (searchString /*, position*/) {
var start, self = String(value(this));
start = min(max(toInteger(arguments[1]), 0), self.length);
return self.indexOf(searchString, start) === start;