diff options
Diffstat (limited to 'src/html/catom.nim')
-rw-r--r-- | src/html/catom.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/html/catom.nim b/src/html/catom.nim index b6dced60..f22d74ef 100644 --- a/src/html/catom.nim +++ b/src/html/catom.nim @@ -197,8 +197,7 @@ func toStaticAtom*(factory: CAtomFactory; atom: CAtom): StaticAtom = return StaticAtom(i) return atUnknown -var getFactory* {.compileTime.}: proc(ctx: JSContext): CAtomFactory {.nimcall, - noSideEffect.} +var getFactory*: proc(ctx: JSContext): CAtomFactory {.nimcall, noSideEffect.} proc toAtom*(ctx: JSContext; atom: StaticAtom): CAtom = return ctx.getFactory().toAtom(atom) |