sass configured

This commit is contained in:
dqnid committed 2023-08-15 10:26:20 +02:00
1 parent c2e31ea175
commit 6a78380644
3424 files changed
+360558 -146

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
'use strict';
module.exports = string => string.replace(/^[\r\n]+/, '').replace(/[\r\n]+$/, '');
module.exports.start = string => string.replace(/^[\r\n]+/, '');
module.exports.end = string => {
let end = string.length;
while (end > 0 && (string[end - 1] === '\r' || string[end - 1] === '\n')) {
end--;
}
return end < string.length ? string.slice(0, end) : string;
};