Araq
e422087217
avoid exponential DOM diffing
2019-08-28 19:38:20 +02:00
Araq
d08a0356d2
readme.rst: fixed a typo and made the snippet runnable
2019-08-28 19:38:20 +02:00
Araq
9c8a34e567
readme.rst: fixed a typo and made the snippet runnable
2019-08-15 11:07:03 +02:00
Jairo
1bbd9c694e
Update karun.nim ( #109 )
...
Remove ugly debug echo (sorry)
2019-07-19 18:38:43 +02:00
Zed
b99a5430f0
Add support for rendering styles to string ( #102 )
2019-07-10 14:46:08 +02:00
Zed
fc062c2d48
Fix tag termination for elements with no children ( #103 )
2019-07-10 14:44:51 +02:00
Araq
5e9709bc5b
fixes #91
2019-06-03 14:59:51 +02:00
Jairo
c091af1622
Update kdom_impl.nim ( #94 )
...
* Update kdom_impl.nim
Support full old syntax (maybe support modern syntax too? object options)
https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
* Update kdom_impl.nim
use MDN naming
* Update kdom_impl.nim
2019-05-15 19:06:43 +02:00
Hitesh Jasani
33af725e7d
Add docs explaining server side HTML rendering ( #97 )
...
* Add docs explaining server side HTML rendering
* Fix indentation
2019-05-15 19:06:17 +02:00
Araq
cd3e7cc1c8
fixed indentation
2019-05-15 18:48:38 +02:00
liuxiaodong
ad3c0a63ee
update verbatim for static HTML ( #96 )
2019-05-15 18:36:22 +02:00
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