Use generic for 'stateObject' in func 'pushState'
This commit is contained in:
parent
d5cd8e6f71
commit
a2b7fcdb4d
1 changed files with 1 additions and 1 deletions
|
|
@ -507,7 +507,7 @@ proc replace*(loc: Location, s: cstring)
|
||||||
proc back*(h: History)
|
proc back*(h: History)
|
||||||
proc forward*(h: History)
|
proc forward*(h: History)
|
||||||
proc go*(h: History, pagesToJump: int)
|
proc go*(h: History, pagesToJump: int)
|
||||||
proc pushState*(h: History, stateObject, title, url: cstring)
|
proc pushState*[T](h: History, stateObject: T, title, url: cstring)
|
||||||
|
|
||||||
# Navigator "methods"
|
# Navigator "methods"
|
||||||
proc javaEnabled*(h: Navigator): bool
|
proc javaEnabled*(h: Navigator): bool
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue