diff options
author | bobzel <zzzman@gmail.com> | 2024-05-19 00:05:18 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-05-19 00:05:18 -0400 |
commit | 38742d5f491ed5232a381da63e126b609cf14aad (patch) | |
tree | a723b0c9dfffa717b70df383d21fb3b14567308f /src/extensions/StringExtensions.ts | |
parent | a3784cd3ab990d8016b1168eb0cbf7e9a2f22301 (diff) | |
parent | 0b451af28e5aef6b749da61e8a9fcd0a840789ac (diff) |
Merge branch 'restoringEslint' into aisosa-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 |