Skip to content

Commit

Permalink
v1.0.1:
Browse files Browse the repository at this point in the history
- Only importing kdl/prefs when not using js as a backend
  • Loading branch information
Patitotective committed May 6, 2023
1 parent f1adf58 commit 986c556
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/kdl.nim
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ runnableExamples:

import std/[algorithm, enumerate, strformat, strutils, sequtils, options, tables]

import kdl/[decoder, encoder, parser, lexer, nodes, types, utils, prefs, xik, jik]
import kdl/[decoder, encoder, parser, lexer, nodes, types, utils, xik, jik]
when not defined(js):
import kdl/prefs

export decoder, encoder, parser, nodes, types
export scanKdl, scanKdlFile, lexer.`$` # lexer
Expand Down
2 changes: 1 addition & 1 deletion src/kdl/jik.nim
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ runnableExamples:
width 500
height 500
}
(object)image {
(object)image {
src "Images/Sun.png"
name "sun1"
hOffset 250
Expand Down

0 comments on commit 986c556

Please sign in to comment.