Commit graph

295 commits

Author SHA1 Message Date
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
Thomas Johnson
c9c30eaf45 Fixing spacing issue in kdom. (#43) 2017-11-26 15:20:01 -08:00
Thomas Johnson
22f24a1a8a Added blob support to ajaxPost. Cleanup in kdom and added InputElement and Blob support. Test updates. (#43) 2017-11-26 15:11:19 -08:00
Araq
1ad7567b28 added new experiments 2017-11-22 14:37:12 +01:00
Thomas Johnson
28bccf9223 Tab size fixes in domEventTests.css, .html for #43. 2017-11-21 17:14:59 -08:00
Thomas Johnson
b3100d5684 Tab size fixes in domEventTests for #43. 2017-11-21 17:01:23 -08:00
Thomas Johnson
d07fc9a8af Switched to non-minimized JQuery library for tests; code style updates to domEventTests for #43. 2017-11-21 16:52:38 -08:00
Araq
4571ad0dd5 merged PR #38 manually; refs #38 2017-11-21 23:44:45 +01:00
Andreas Rumpf
b8c9ff45fe added websockets' onopen event handler 2017-11-21 17:24:39 +01:00
Thomas Johnson
9ad41a6066 kdom changes and tests for #42 2017-11-20 17:12:33 -08:00
Araq
7425568122 attempt to make travis green again 2017-11-20 23:55:13 +01:00
Araq
84720812ea attempt to make travis green again 2017-11-20 23:47:06 +01:00
Araq
6c2513a48c attempt to make travis green again 2017-11-20 23:40:35 +01:00
Araq
22a20b3246 attempt to make travis green again 2017-11-20 23:33:56 +01:00
Araq
bf28a44439 fixes issues in the new examples 2017-11-20 14:04:34 +01:00
Araq
fb604321f3 added many more examples 2017-11-20 12:26:30 +01:00
Araq
bcc45feea3 added 'karun' tool to karax.nimble 2017-11-20 12:26:10 +01:00
Andreas Rumpf
e112f15092 tools/karun: produce CSS only with --css switch 2017-11-16 15:34:08 +01:00
Andreas Rumpf
a0665bc544 added errors.nim module for UI error handling 2017-11-13 15:27:58 +01:00