move karax source code from 'src' to 'karax'; make karaxdsl work with native Nim; added jjson and jwebsockets modules

This commit is contained in:
Andreas Rumpf 2017-10-02 22:54:25 +02:00
commit 8e8ada7cd2
34 changed files with 407 additions and 203 deletions

View file

@ -1 +1 @@
--path: "../../src"
--path: "../../karax"

View file

@ -1,5 +1,5 @@
import karax, karaxdsl, vdom, kdom, compact
import karax / [karax, karaxdsl, vdom, kdom, compact]
const
Play = 0

View file

@ -1,6 +1,6 @@
## Example app that shows how to write and embed a custom component.
include karaxprelude
include karax/prelude
import mediaplayer
const url = "https://www.w3schools.com/html/mov_bbb.mp4"

View file

@ -1 +1 @@
--path: "../../src"
--path: "../.."

View file

@ -1,7 +1,7 @@
## Example that shows how to accomplish an "infinitely scrolling" app.
include karaxprelude
import jstrutils, kdom, vstyles
include karax/prelude
import karax / [jstrutils, kdom, vstyles]
var entries: seq[cstring] = @[]
for i in 1..500:

View file

@ -1 +1 @@
--path: "../../src"
--path: "../.."

View file

@ -1,5 +1,5 @@
import vdom, karax, karaxdsl, jstrutils, compact, localstorage
import karax / [vdom, karax, karaxdsl, jstrutils, compact, localstorage]
type
Filter = enum

View file

@ -1 +1 @@
--path: "../../src"
--path: "../.."