mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 08:54:53 +00:00
Implement RFC-413 (#18749)
* Implement RFC 413 * Implement RFC 413 * Implement RFC 413 * Implement RFC 413 * https://github.com/nim-lang/Nim/pull/18749#discussion_r696320995 * Update lib/js/dom_extensions.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update lib/js/dom_extensions.nim * https://github.com/nim-lang/Nim/pull/18749#discussion_r696913310 Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
This commit is contained in:
@@ -371,6 +371,9 @@
|
||||
|
||||
- Added `dom.setInterval`, `dom.clearInterval` overloads.
|
||||
|
||||
- Merged `dom_extensions` module into `dom` module,
|
||||
it was a module with a single line, see https://github.com/nim-lang/RFCs/issues/413
|
||||
|
||||
- Allow reading parameters when compiling for Nintendo Switch.
|
||||
|
||||
- Deprecated `sequtils.delete` and added an overload taking a `Slice` that raises a defect
|
||||
|
||||
@@ -1771,3 +1771,6 @@ since (1, 3):
|
||||
## https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsDataURL
|
||||
proc readAsText*(f: FileReader, b: Blob|File, encoding = cstring"UTF-8") {.importcpp: "#.readAsText(#, #)".}
|
||||
## https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsText
|
||||
|
||||
since (1, 5):
|
||||
proc elementsFromPoint*(n: DocumentOrShadowRoot; x, y: float): seq[Element] {.importcpp.}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import std/dom
|
||||
|
||||
{.push importcpp.}
|
||||
proc elementsFromPoint*(n: DocumentOrShadowRoot; x, y: float): seq[Element]
|
||||
{.pop.}
|
||||
export elementsFromPoint
|
||||
{.deprecated: "use `std/dom` instead".}
|
||||
|
||||
@@ -7,7 +7,6 @@ discard """
|
||||
import
|
||||
asyncjs,
|
||||
dom,
|
||||
dom_extensions,
|
||||
jsconsole,
|
||||
jsffi,
|
||||
jsre
|
||||
|
||||
Reference in New Issue
Block a user