Commit graph

313 commits

Author SHA1 Message Date
Andreas Rumpf
20fe35355c server side Karax rendering: show how events can be handled 2019-03-14 11:21:49 +01:00
Andreas Rumpf
50bed1f6e9 used sugar.nim instead of future.nim in the login.nim example 2019-03-14 11:09:06 +01:00
liuxiaodong
1ea7208b4d add uploadFile and a path tag (#88)
* add uploadFile and a path tag
* update uploadFile and circle tag
2019-03-10 20:15:13 +01:00
Jairo
4186a4b37b Update Bulma (#89) 2019-03-08 13:32:35 +01:00
Araq
0118aea506 use stdlib's dom module if possible 2019-01-31 21:28:31 +01:00
Araq
2936245d39 add newWebsocket variant that lacks the key 1.1.0 2019-01-31 16:16:37 +01:00
Araq
fc9f9312ef improve deprecation message 2019-01-31 16:15:03 +01:00
Araq
c8c7b13d2f update readme.rst, v1 has arrived 2018-12-12 15:18:36 +01:00
Araq
a2c2aac639 Karax v1 has arrived 1.0.0 2018-12-12 15:04:19 +01:00
Araq
18b5a12d1e added a new way for native DOM <-> virtual DOM interop, see nativenodes.nim example 2018-12-12 15:02:58 +01:00
Araq
a90efe752d merged #53 manually; todoapp must ignore empty input lines 2018-12-12 12:34:35 +01:00
Araq
068c30c97d make examples compile again with a config.nims file 2018-12-12 12:31:23 +01:00
Jairo
16008dbe52 Watch option (#79)
* Update karun.nim
* Watch option

Add a -w flag to watch for changes in folder and recompile.
2018-12-12 12:29:41 +01:00
Timothee Cour
b16112613a Update readme.rst (#77) 2018-10-10 00:43:08 +02:00
Timothee Cour
1ccd8b1c16 fix #73: echartstest.nim doesnt work (#75) 2018-09-28 09:24:39 +02:00
Andreas Rumpf
3a2effdf99 fixes readme.rst 2018-09-23 09:55:43 +02:00
Andreas Rumpf
fc0ca22785 update karax.nimble for latest Nimble 2018-09-23 09:52:22 +02:00
Araq
a07f1c7b82 fixes #72 2018-09-22 20:40:00 +02:00
LemonBoy
bd69de9f14 Don't choke on nnkDotExpr nodes (#71)
Fixes #69
2018-09-03 00:25:51 +02:00
Andreas Rumpf
1084849500 Merge branch 'master' of github.com:pragmagic/karax 2018-08-15 16:25:33 +02:00
Andreas Rumpf
b05c037bb0 Karax: prepare for the Nim release where 'nil' is not a thing for strings anymore 2018-08-15 16:25:26 +02:00
Dominik Picheta
b3a5ed9c54 Adds animation events. (#70) 2018-07-30 08:57:59 +02:00
Araq
015590e806 karax DSL: allow 'foo-bar' syntax for custom HTML attributes 2018-07-03 12:56:32 +02:00
Araq
6ab7c9455d make menus.nim example compile again 2018-07-03 12:56:05 +02:00
Araq
3b3aa6347d improve karax documentation 2018-07-03 12:19:19 +02:00
Araq
20fe1bcbee extended the readme.rst with plenty of examples from my blog post 2018-06-14 15:07:54 +02:00
Araq
fbfeced5b1 kajax.nim: add a switch to disable automatic redrawing when data was received 2018-06-14 15:07:34 +02:00
Andreas Rumpf
52026d1687 Karax DSL: allow 'style = {}' syntax for inline CSS 2018-06-10 13:27:58 +02:00
Andreas Rumpf
451ee92dd0 Merge branch 'master' of github.com:pragmagic/karax 2018-06-10 12:09:36 +02:00
Andreas Rumpf
330a7351f9 knete.nim: change order of parameters in replaceById 2018-06-10 12:09:30 +02:00
Araq
d8df257dd2 Merge branch 'master' of github.com:pragmagic/karax 2018-05-25 22:41:09 +02:00
Araq
092395ed5c bugfix: textareas are allowed to be weird 2018-05-25 22:41:01 +02:00
oskca
78cad87452 make --css works in karun (#64)
* make --css works in karun

* ignore karun executable in source tree
2018-05-25 09:12:22 +02:00
Araq
9882d1aec2 cleanup dom's PR 2018-05-24 00:01:01 +02:00
Dominik Picheta
9068686614 General improvements and fixes (#58)
* Fixes Nimble package structure.
* Improves readme.
* Fixes compatibility with devel.
* Add nice error message when ROOT is missing.
* Pass responseText instead of statusText in ajax callbacks.
* Implements verbatim node.
* Apparently it should just be true all the time.
* Small fix to readme.
* Fixes verbatim node updates.
* Move karun into the `karax` directory so that it's installable.
2018-05-23 23:30:06 +02:00
shinriyo
1e3a1e4745 add 'git clone' instructions to the readme (#51) 2018-03-14 12:23:39 +01:00
Andreas Rumpf
87edc4cdb9 fixes overly aggressive text node reuse DOM diff'ing bug 2018-03-07 11:52:25 +01:00
Andreas Rumpf
75739f8170 add experiment what Karax would look like without DOM diff'ing but with barebones reactive programming 2018-03-05 10:00:11 +01:00
Andreas Rumpf
dd0ea311a3 fixes an annoying karun bug 2018-03-05 09:58:39 +01:00
Araq
5576c4809d Karax: better support for routing; easier to use; todoapp bugfix: misapplied .compact macro 2018-02-17 14:13:26 +01:00
Andreas Rumpf
b36380a48e Merge branch 'master' of github.com:pragmagic/karax 2018-01-23 07:13:31 +01:00
Andreas Rumpf
db9325b3bb added karax.setForeignNodeId to make interfacing with ECharts easier 2018-01-23 07:12:47 +01:00
Andreas Rumpf
b5fc4de010 jjson: added the %* macro inspired from json.nim 2018-01-23 06:38:43 +01:00
Rayner De Los Santos F
7aace27355 Adding hasError method (#45) 2018-01-03 14:04:10 +01:00
Araq
271fdd9bde Merge branch 'darkmusic-master' 2017-12-12 15:13:11 +01:00
Araq
4428c4ed95 Merge branch 'master' of https://github.com/darkmusic/karax into darkmusic-master 2017-12-12 15:05:19 +01:00
Araq
135044d8d7 added vdom.getVNodeById for easier component creation 2017-12-05 16:32:11 +01:00
Andreas Rumpf
73c94c969c
Merge branch 'master' into master 2017-12-01 09:52:27 +01:00
Thomas Johnson
387c8b79fb
Merge branch 'master' into master 2017-11-30 11:52:18 -08:00
Araq
be759d9b42 bugfix: apply class changes consistently 2017-11-30 18:16:31 +01:00