Fix: normalize new line

This commit is contained in:
eight 2017-09-18 08:16:11 +08:00
parent 94e5336018
commit 1e9ee786ea

View File

@ -414,6 +414,8 @@ var usercss = (function () {
} }
function _buildMeta(sourceCode) { function _buildMeta(sourceCode) {
sourceCode = sourceCode.replace(/\r\n?/g, '\n');
const usercssData = { const usercssData = {
vars: {} vars: {}
}; };