diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
commit | cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch) | |
tree | 92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/es5-ext/string/#/indent.js | |
parent | 3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff) |
remove node_modules
Diffstat (limited to 'node_modules/es5-ext/string/#/indent.js')
-rw-r--r-- | node_modules/es5-ext/string/#/indent.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/node_modules/es5-ext/string/#/indent.js b/node_modules/es5-ext/string/#/indent.js deleted file mode 100644 index df8869dbc..000000000 --- a/node_modules/es5-ext/string/#/indent.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict"; - -var isValue = require("../../object/is-value") - , repeat = require("./repeat") - , replace = String.prototype.replace - , re = /(\r\n|[\n\r\u2028\u2029])([\u0000-\u0009\u000b-\uffff]+)/g; - -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"); -}; |