Fix missing new statement, causing a undefined throw and bad error message

This commit is contained in:
Luke Page
2015-03-13 16:06:19 +00:00
parent fe8cf75d14
commit 5651517f5f

View File

@@ -122,7 +122,7 @@ var Parser = function Parser(context, imports, fileInfo) {
// output. The callback is called when the input is parsed.
try {
parserInput.start(str, context.chunkInput, function fail(msg, index) {
throw LessError({
throw new LessError({
index: index,
type: 'Parse',
message: msg,