mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
ko.utils.setTimeout to native setTimeout
This commit is contained in:
parent
9014f08f35
commit
5cb4d338a1
5 changed files with 7 additions and 9 deletions
2
vendors/knockout/src/utils.js
vendored
2
vendors/knockout/src/utils.js
vendored
|
|
@ -94,8 +94,6 @@ ko.utils = {
|
|||
|
||||
domNodeIsAttachedToDocument: node => ko.utils.domNodeIsContainedBy(node, node.ownerDocument.documentElement),
|
||||
|
||||
setTimeout: (handler, timeout) => setTimeout(handler, timeout),
|
||||
|
||||
triggerEvent: (element, eventType) => {
|
||||
if (!(element && element.nodeType))
|
||||
throw new Error("element must be a DOM node when calling triggerEvent");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue