diff options
author | Juan Carlos <juancarlospaco@gmail.com> | 2020-06-30 05:08:16 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 10:08:16 +0200 |
commit | 04deb6c9421d0a11cedfc7e8c52ae3b30e7bf1db (patch) | |
tree | c402656433efa063e1430a23eb5421f69d9070cc | |
parent | 74d1f2501023805dadca75e402e70ef73a1d5bf7 (diff) | |
download | Nim-04deb6c9421d0a11cedfc7e8c52ae3b30e7bf1db.tar.gz |
Clean out dom (#14855)
* Clean out dom * Clean out dom
-rw-r--r-- | changelog.md | 2 | ||||
-rw-r--r-- | lib/js/dom.nim | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/changelog.md b/changelog.md index 2d9a78d3b..b983478d2 100644 --- a/changelog.md +++ b/changelog.md @@ -183,7 +183,7 @@ proc mydiv(a, b): int {.raises: [].} = - Added the `thiscall` calling convention as specified by Microsoft, mostly for hooking purpose - Deprecated `{.unroll.}` pragma, was ignored by the compiler anyways, was a nop. - +- Remove `dom.releaseEvents` and `dom.captureEvents`, was deprecated. ## Compiler changes diff --git a/lib/js/dom.nim b/lib/js/dom.nim index 262c0daad..09e45c04d 100644 --- a/lib/js/dom.nim +++ b/lib/js/dom.nim @@ -1415,7 +1415,6 @@ proc removeEventListener*(et: EventTarget; ev: cstring; cb: proc(ev: Event)) proc alert*(w: Window, msg: cstring) proc back*(w: Window) proc blur*(w: Window) -proc captureEvents*(w: Window, eventMask: int) {.deprecated.} proc clearInterval*(w: Window, interval: ref Interval) proc clearTimeout*(w: Window, timeout: ref TimeOut) proc close*(w: Window) @@ -1435,7 +1434,6 @@ proc open*(w: Window, uri, windowname: cstring, properties: cstring = nil): Window proc print*(w: Window) proc prompt*(w: Window, text, default: cstring): cstring -proc releaseEvents*(w: Window, eventMask: int) {.deprecated.} proc resizeBy*(w: Window, x, y: int) proc resizeTo*(w: Window, x, y: int) proc routeEvent*(w: Window, event: Event) @@ -1469,7 +1467,6 @@ proc querySelector*(n: Node, selectors: cstring): Element proc querySelectorAll*(n: Node, selectors: cstring): seq[Element] # Document "methods" -proc captureEvents*(d: Document, eventMask: int) {.deprecated.} proc createAttribute*(d: Document, identifier: cstring): Node proc getElementsByName*(d: Document, name: cstring): seq[Element] proc getElementsByTagName*(d: Document, name: cstring): seq[Element] @@ -1477,7 +1474,6 @@ proc getElementsByClassName*(d: Document, name: cstring): seq[Element] proc getSelection*(d: Document): Selection proc handleEvent*(d: Document, event: Event) proc open*(d: Document) -proc releaseEvents*(d: Document, eventMask: int) {.deprecated.} proc routeEvent*(d: Document, event: Event) proc write*(d: Document, text: cstring) proc writeln*(d: Document, text: cstring) |