mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 06:52:28 +01:00
Remove ^Ms from sourced files
This commit is contained in:
@@ -868,6 +868,8 @@ lookup:
|
||||
{
|
||||
ioManager.sourcing.line = i + 1;
|
||||
// skip line comments and blank lines
|
||||
line = line.replace(/\r$/, "");
|
||||
|
||||
if (/^\s*(".*)?$/.test(line))
|
||||
continue;
|
||||
|
||||
@@ -899,7 +901,7 @@ lookup:
|
||||
if (matches)
|
||||
{
|
||||
args = matches[1];
|
||||
heredocEnd = new RegExp("^" + matches[2] + "$", "m");
|
||||
heredocEnd = RegExp("^" + matches[2] + "$", "m");
|
||||
if (matches[1])
|
||||
heredoc = matches[1] + "\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user