Skip to content

Commit

Permalink
Fix some errors in samples (not all)
Browse files Browse the repository at this point in the history
  • Loading branch information
mildred committed Nov 27, 2020
1 parent c599767 commit 349fc5e
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 8 deletions.
3 changes: 2 additions & 1 deletion samples/compute/app.nim
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import jsconsole
import jsffi
import json
import dom

import nclearseam
import nclearseam/util
import nclearseam/fetchutil
import nclearseam/dom
import nclearseam/extradom
import nclearseam/registry

import ./settings
Expand Down
3 changes: 2 additions & 1 deletion samples/compute/calcul_meubles.nim
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import jsconsole
import asyncjs
import dom

import nclearseam
import nclearseam/dom
import nclearseam/extradom
import nclearseam/registry

import ./app
Expand Down
3 changes: 2 additions & 1 deletion samples/compute/settings.nim
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import nclearseam
import nclearseam/util
import nclearseam/fetchutil
import nclearseam/dom
import nclearseam/extradom
import nclearseam/registry
import jsconsole
import jsffi
import json
import dom

type
Settings* = ref object
Expand Down
3 changes: 2 additions & 1 deletion samples/sample1.nim
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import ../src/nclearseam
import ../src/nclearseam/jsonutil
import ../src/nclearseam/dom
import ../src/nclearseam/extradom
import json
import dom
import jsconsole

var config1* = create(JsonNode) do(t: auto):
Expand Down
3 changes: 2 additions & 1 deletion samples/sample2.nim
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import ../src/nclearseam
import ../src/nclearseam/jsonutil
import ../src/nclearseam/dom
import ../src/nclearseam/extradom
import json
import dom
import ./sample1

var config2* = create(JsonNode) do(t: auto):
Expand Down
3 changes: 2 additions & 1 deletion samples/sample3.nim
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import ../src/nclearseam
import ../src/nclearseam/util
import ../src/nclearseam/dom
import ../src/nclearseam/extradom
import json
import dom

type
Comp2Item = ref object
Expand Down
3 changes: 2 additions & 1 deletion samples/sample4/button.nim
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import jsconsole
import dom

import ../../src/nclearseam
import ../../src/nclearseam/util
import ../../src/nclearseam/fetchutil
import ../../src/nclearseam/dom
import ../../src/nclearseam/extradom
import ../../src/nclearseam/registry

type
Expand Down
3 changes: 2 additions & 1 deletion samples/sample4/index.nim
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import asyncjs
import dom

import ../../src/nclearseam
import ../../src/nclearseam/dom
import ../../src/nclearseam/extradom
import ../../src/nclearseam/registry

import ./button
Expand Down

0 comments on commit 349fc5e

Please sign in to comment.