Skip to content

Commit deb43e8

Browse files
committed
parser: Removed non-standard Mozilla specific 2nd and 3rd argument for Error
1 parent 2bb901e commit deb43e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/parse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ CSSOM.parse = function parse(token) {
5959
var tmp = token.substring(0, i).split('\n'),
6060
lines = tmp.length,
6161
chars = tmp.pop().length;
62-
var err = new Error(msg + ' (line ' + lines + ', char ' + chars + ')', null, lines);
62+
var err = new Error(msg + ' (line ' + lines + ', char ' + chars + ')');
6363
err.line = lines;
6464
err.char = chars;
6565
err.styleSheet = styleSheet;

0 commit comments

Comments
 (0)