1
0
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:
Kris Maglione
2008-12-19 18:22:25 -05:00
parent 491751bb62
commit 196f3ec686

View File

@@ -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";
}