Commit Graph

29 Commits

Author SHA1 Message Date
Juho Teperi d4038cb911 Deprecate reagent.interop ns, fixes #419 2019-01-04 11:46:48 +02:00
Juho Teperi 16d8021e89
Merge branch 'master' into fix-array-ops 2018-12-31 13:07:05 +02:00
Jim Berlage e31192fd31 Allows for an arbitrary number of props in merge-props 2018-12-03 16:16:06 -06:00
Juho Teperi 4a8ac5cd83 Fix problem with custom HTML element property name code
Custom HTML element property name code accidentally modified cache
object for normal HTML elements, which can cause Reagent to lose correct
mappings for properties like className, htmlFor and charSet.
2018-04-27 23:17:25 +03:00
Juho Teperi b7304d0f3f Fix aget/aset use with objects
This removes the interop macros which used aget/aset and prevented
Closure naming mangling, now normal property and method access is used
where possible, and goog.object used when using variable keys. Further
testing is needed to ensure this works correctly with Closure, as there
are some properties that are used with goog.object in one place, and as
property in another.

Fixes #324
2018-04-19 17:25:37 +03:00
Juho Teperi ad96d3cbbd Ensure prerender code is not evaluated during tests 2018-04-16 20:50:32 +03:00
Juho Teperi 7a3bc4c212 Fix Node tests - testwrap async test requires DOM 2017-11-28 17:12:29 +02:00
Juho Teperi 52b0b2eba4 Fix demo site build script, stop usinn lein profile merging 2017-10-18 14:25:41 +03:00
Juho Teperi b81af9308a Fix doo & test result component on demo app 2017-10-13 16:00:04 +03:00
Juho Teperi 3d061329d8 Remove duplicate test-results var 2017-10-12 15:38:32 +03:00
Juho Teperi 4f69a37fcc Fix tests on Chrome, don't load demo app on test runner 2017-09-29 11:02:34 +03:00
Juho Teperi fd93b09c96 Rework test runner and prerendering
Use doo for tests.
2017-09-29 01:34:06 +03:00
Juho Teperi 19ae267b32 Fix CI tests
Gen-site.js is used both to pre-render HTML files and run tests.
2017-03-11 00:58:14 +02:00
Dan Holmsand d3ee4a7f8b Update figwheel and simplify doc app configuration 2016-05-27 12:55:13 +02:00
Dan Holmsand 7943a0018b Make demo site reload a little faster 2016-05-01 13:45:37 +02:00
Dan Holmsand 8ff44c81e6 Rerun tests by clicking on test results 2016-04-29 13:17:54 +02:00
Dan Holmsand 45b93c8145 Rename .' and .! to $ and $! respectively
This seems to be necessary to avoid trouble with bootstrapped cljs.

The old macros are still around, but deprecated.
2015-10-22 13:23:49 +02:00
Dan Holmsand 3fca2e5d41 Make reactions async by queueing changes instead
Reactions now put themselves in a queue when they get a
callback from an atom. The queue is flushed before rendering, and
on deref on individual reactions.

This turns out to perform much better in many cases.
2015-09-30 08:56:06 +02:00
Dan Holmsand 9163695832 Start adding more tests for with-let 2015-09-23 17:02:48 +02:00
Dan Holmsand 6c9f71e511 Rename testmonitor 2015-09-19 19:03:29 +02:00
Dan Holmsand e05c74e6a5 More tests for monitor 2015-09-14 09:09:04 +02:00
Dan Holmsand ee72c60d3a Start implementing monitor 2015-09-13 18:17:38 +02:00
Dan Holmsand 544a3339d0 Start testing async reaction 2015-09-12 18:34:10 +02:00
Dan Holmsand b2210c2bf3 atom -> r/atom everywhere else, for consistency 2015-07-31 15:13:27 +02:00
Dan Holmsand 569322949b Take advantage of new figwheel 2015-05-31 11:51:11 +02:00
Dan Holmsand 767410d8d8 Update clojurescript, figwheel and cljsbuild.
Stop using :figwheel-always, that seems to be broken in the new
figwheel.
2015-03-21 13:53:37 +01:00
Dan Holmsand 7568b6843e Support running site in dev mode without tests 2015-02-11 19:06:38 +01:00
Dan Holmsand 73d0478607 Simplify setup of doc site and testing
Take advantage of figwheel 0.2.3
2015-02-10 18:20:48 +01:00
Dan Holmsand 163308a392 Make site and examples work with ClojureScript 2816
ClojureScript all of a sudden complains about "single segment
namespaces", which forces a rather massive reorg.

Also, cljs.test/run-tests is broken.
2015-02-10 14:35:12 +01:00