Commit Graph

822 Commits

Author SHA1 Message Date
Sam Roberton 951682db81 CLJC: address (some of) Daniel's review comments 2016-07-21 12:42:25 +10:00
Sam Roberton cc33fe5a95 First pass at converting to CLJC for JVM testing
Note that the goal of using CLJC here is to enable writing and running
`deftest`s in JVM Clojure to test your (CLJS) re-frame app.  Actually
running a re-frame app as a meaningful thing on the JVM (other than for
tests) is explicitly *not* a goal.

- All files renamed *.cljs -> *.cljc
- New `re-frame.interop` ns for stuff that's different between CLJS and
  JVM Clojure, including Reagent interop.
- Other CLJS incompatibilities (eg `catch :default` and `deftype`'s
  `^:mutable` vs `^:volatile-mutable`) are handled with reader
  conditionals in-place.
2016-07-20 19:19:56 +10:00
hipitihop 3c4b0791fc correct use of list? to account for lazy seqs 2016-07-20 17:16:01 +10:00
Stuart Mitchell 25a197cdd9 Removed possibly confusing usage of spec to parse function arguments in register-pure 2016-07-20 17:48:10 +12:00
Mike Thompson 8e211754a3 Remove todo 2016-07-20 11:16:52 +10:00
hipitihop d8e97b86d7 comment typos 2016-07-20 10:35:19 +10:00
Mike Thompson f220e6821b Merge pull request #181 from Day8/spec
Moved todomvc to spec checking
2016-07-20 09:53:39 +10:00
Mike Thompson 56e7bb44db More README madness 2016-07-20 09:52:39 +10:00
Mike Thompson 018eb0dff5 Better comment 2016-07-20 09:52:26 +10:00
Stuart Mitchell 1dd52faeae Moved todomvc to spec checking 2016-07-20 11:39:59 +12:00
Mike Thompson 854109ed46 Merge remote-tracking branch 'origin/stack-dispatch' into develop
Conflicts:
	src/re_frame/router.cljs
2016-07-19 22:25:23 +10:00
Mike Thompson 16585b2722 Correct incorrect badge URLs in README 2016-07-19 22:23:37 +10:00
Mike Thompson 06bec5b1d0 Even though they are temporary log messages, switch to use offical method. 2016-07-19 18:51:45 +10:00
Mike Thompson f42a4fa349 Get rid of another explicit js/Error reference 2016-07-19 18:51:04 +10:00
Mike Thompson faece2fd0f Remove explicit use of js/Error. Starting the process of making re-frame cljc-ready 2016-07-19 18:37:03 +10:00
Mike Thompson 6edebdeba4 Correct project.clj for releasing to clojars from Windows. 2016-07-19 14:52:03 +10:00
Stuart Mitchell 19ede7bac5 Adds informational stack traces to errors in dispatch 2016-07-19 16:46:33 +12:00
Mike Thompson accd17bf04 Add release tasks 2016-07-19 14:37:29 +10:00
Mike Thompson d1550d8e5e v0.8.0-alpha2 2016-07-19 14:34:10 +10:00
Mike Thompson 3739369c64 Better comment 2016-07-19 14:33:52 +10:00
Mike Thompson 3311d02c22 Switch from using `doall` to `dorun` 2016-07-18 23:54:39 +10:00
Mike Thompson f852661719 Update deps for Prismatic Schema in todomvs example 2016-07-18 19:37:25 +10:00
Mike Thompson 19f70625e1 Add console to core. 2016-07-18 19:37:01 +10:00
Mike Thompson 8c3acb00c8 Better README badges 2016-07-15 23:52:42 +10:00
Mike Thompson 2c370cf8d3 Move `:forward-events` to be its own library. 2016-07-15 23:51:40 +10:00
Mike Thompson f6cb7cba4f Include the example effect handlers 2016-07-15 23:50:33 +10:00
Mike Thompson 0c0b0f9d07 More detail added to Change.md regarding sample effect handlers 2016-07-15 18:46:37 +10:00
Mike Thompson f6d191f425 Better docs on new effect 2016-07-15 18:46:16 +10:00
Mike Thompson 927d2c03a1 remove laziness 2016-07-15 14:15:30 +10:00
Mike Thompson 9294adb1b5 Improve warning message if incorrect use of fx detected. 2016-07-15 11:40:07 +10:00
Mike Thompson daf070b1fd Merge branch 'develop' of https://github.com/Day8/re-frame into develop 2016-07-15 11:34:42 +10:00
Mike Thompson 325e59c845 Remember a todo 2016-07-15 11:34:02 +10:00
Mike Thompson 800a1a2d6b closer now to having :forward-events working. 2016-07-15 11:33:35 +10:00
Mike Thompson d0827bb578 Update comment for the new world 2016-07-15 11:33:07 +10:00
Mike Thompson 40d0a749d4 Remove incorrect use of re-frame.middleware/fx (should have been re-frame.fx/fx) 2016-07-15 11:32:44 +10:00
snowell 0f117eaac7 Insignificant typo correction in console output (#177) 2016-07-15 10:36:07 +12:00
Mike Thompson 2c9d140c22 Initial fx code now in. But it remains largely untested. 2016-07-14 16:41:54 +10:00
hipitihop a1314eb6c3 Add cljs-test to test-runner via browser/html
- standardised test namespaces: renamed to use -test suffix and moved to eliminate redundant /test folder
- added cljs-test based tests via browser/html. These mimic original karma tests.
   NOTE: previous lein aliases `once` and `auto` have been replaced by `test-once` , `test-auto` & `karma-once`
- update karma.conf & circle.yml
- updated CHANGES.md & CONTRIBUTING.md
2016-07-14 11:21:12 +10:00
Mike Thompson b75ec509bb Further towards fx 2016-07-14 00:32:36 +10:00
Mike Thompson a2468b3e4f Merge branch 'develop' of https://github.com/Day8/re-frame into develop 2016-07-13 16:28:25 +10:00
Mike Thompson 5572e6ebf1 Checkpoint. Further Miscellaneous work towards Effectual Handlers 2016-07-13 16:28:15 +10:00
hipitihop f0124ecf4b Update subs.cljs 2016-07-11 16:54:40 +10:00
Mike Thompson a745bcd7af Update changes. 2016-07-11 16:53:57 +10:00
Mike Thompson b395ef40de Update and clarify in changes document. 2016-07-11 16:52:05 +10:00
Mike Thompson c763ff652d Remove incorrect deref from simple example, now that we have moved to def-sub 2016-07-09 13:42:08 +10:00
Daniel Compton c7d21223e0 Don't sign releases 2016-07-08 17:28:25 +12:00
Mike Thompson 1acf687882 Further Change.md tweaks. 2016-07-07 16:05:37 +10:00
Mike Thompson 70b480b1d1 Correct Changes.md document 2016-07-07 15:19:52 +10:00
Mike Thompson 3cb824f072 Add better comments 2016-07-07 15:16:49 +10:00
Mike Thompson 0d31e3c7c6 Cut v0.8.0-alpha1 2016-07-07 14:52:13 +10:00