sass configured
This commit is contained in:
1 parent
c2e31ea175
commit
6a78380644
3424 files changed
+360558
-146
No files matched your search
+13
@@ -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;
|
||||
};
|
||||
Reference in new issue
Block a user