mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 09:27:03 +03:00
new Error to Error
This commit is contained in:
parent
870019d2df
commit
644c8ad389
13 changed files with 44 additions and 44 deletions
4
vendors/knockout/src/virtualElements.js
vendored
4
vendors/knockout/src/virtualElements.js
vendored
|
|
@ -41,7 +41,7 @@
|
|||
++depth;
|
||||
}
|
||||
if (!allowUnbalanced)
|
||||
throw new Error("Cannot find closing comment tag to match: " + startComment.nodeValue);
|
||||
throw Error("Cannot find closing comment tag to match: " + startComment.nodeValue);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
@ -96,7 +96,7 @@
|
|||
}
|
||||
let first = node.firstChild;
|
||||
if (first && isEndComment(first)) {
|
||||
throw new Error("Found invalid end comment, as the first child of " + node);
|
||||
throw Error("Found invalid end comment, as the first child of " + node);
|
||||
}
|
||||
return first;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue