Skip to content

Commit

Permalink
fix -d:noliveviews
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethosa committed Sep 3, 2024
1 parent 694aad9 commit c01d856
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion happyx.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

description = "Macro-oriented asynchronous web-framework written with ♥"
author = "HapticX"
version = "4.5.0"
version = "4.5.1"
license = "MIT"
srcDir = "src"
installExt = @["nim"]
Expand Down
2 changes: 1 addition & 1 deletion src/happyx/core/constants.nim
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const
# Framework version
HpxMajor* = 4
HpxMinor* = 5
HpxPatch* = 0
HpxPatch* = 1
HpxVersion* = $HpxMajor & "." & $HpxMinor & "." & $HpxPatch


Expand Down
2 changes: 1 addition & 1 deletion src/happyx/spa/renderer.nim
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ when defined(js):
proc forward*() {.exportc: "frwrd".} =
## Just calls [window.history.forward procedure](https://nim-lang.org/docs/dom.html#back%2CHistory)
window.history.forward()
else:
elif enableLiveViews:
proc route*(host, path: string) =
requestResult[host] = "route:" & path
proc injectJs*(host, script: string) =
Expand Down

0 comments on commit c01d856

Please sign in to comment.