new Error() to Error()

This commit is contained in:
the-djmaze 2024-02-28 19:46:21 +01:00
parent 4303ee1908
commit 14bee5d3bd
7 changed files with 12 additions and 12 deletions

2
dev/External/ko.js vendored
View file

@ -107,7 +107,7 @@ Object.assign(ko.bindingHandlers, {
const command = fValueAccessor();
if (!command || !command.canExecute) {
throw new Error('Value should be a command');
throw Error('Value should be a command');
}
ko.bindingHandlers['FORM'==element.nodeName ? 'submit' : 'click'].init(