diff options
author | bobzel <zzzman@gmail.com> | 2024-05-16 23:42:12 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-05-16 23:42:12 -0400 |
commit | 99931c4ca423d51555c24533a98e921c83c941e1 (patch) | |
tree | 07baab3cb627eae837c18fb2a6981a746765ec61 /src/extensions/StringExtensions.ts | |
parent | a197d8d37e62235bfa59bc8e3bb74c39381c30a4 (diff) | |
parent | 69e286b504c2f1bbef7d489dc675b9e54ef8d983 (diff) |
Merge branch 'restoringEslint' into eleanor-starter
Diffstat (limited to 'src/extensions/StringExtensions.ts')
-rw-r--r-- | src/extensions/StringExtensions.ts | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/extensions/StringExtensions.ts b/src/extensions/StringExtensions.ts deleted file mode 100644 index 2c76e56c8..000000000 --- a/src/extensions/StringExtensions.ts +++ /dev/null @@ -1,17 +0,0 @@ -function Assign() { - - String.prototype.removeTrailingNewlines = function () { - let sliced = this; - while (sliced.endsWith("\n")) { - sliced = sliced.substring(0, this.length - 1); - } - return sliced as string; - }; - - String.prototype.hasNewline = function () { - return this.endsWith("\n"); - }; - -} - -export { Assign };
\ No newline at end of file |