Commit graph

34 commits

Author SHA1 Message Date
Gered cfa047ad18 nitpicky cleanup ftw 2014-03-02 11:13:54 -05:00
Gered ab8c748916 ns comment 2014-03-02 10:48:35 -05:00
Gered 47fb37733b use doall to force full evaluation of java collections when converting 2014-03-02 10:46:25 -05:00
Gered 56d966429d todo comments regarding testing hashmap values 2014-03-02 10:36:20 -05:00
Gered 12d72afa5a update tests 2014-03-02 10:34:29 -05:00
Gered 512fcfa31c perform proper clojure/java conversions on function args / return value 2014-03-02 10:34:16 -05:00
Gered f2a864b2e1 to be consistent, we should be converting keys this way here too 2014-03-02 10:21:11 -05:00
Gered ce93336731 ns comment 2014-03-02 10:17:42 -05:00
Gered 3770f16ebd minor reorganizing 2014-03-02 10:16:57 -05:00
Gered b010bda2d1 add tests for clojure-to-java conversions 2014-03-02 10:14:57 -05:00
Gered 7d4465fe52 add clojure-to-java conversions 2014-03-02 09:59:23 -05:00
Gered 384c3926ee change the method name 2014-03-02 09:26:13 -05:00
Gered b3fb3d6e58 add tests for java-to-clojure conversions 2014-03-02 09:19:23 -05:00
Gered 762bc94046 add java-to-clojure conversions 2014-03-02 09:08:29 -05:00
Gered 4bd38636b5 remove unused require 2014-03-02 07:52:41 -05:00
Gered 8efdee0319 update function tests 2014-03-02 07:52:06 -05:00
Gered 8ff0d555c6 split up deftwigfn so bulk of logic is inside a separate function 2014-03-02 07:51:31 -05:00
Gered b6bffefb1d lots of custom template function related tests 2014-03-01 19:55:02 -05:00
Gered b02142ab47 change visiblity/name of the fn to check if a template fn has been added 2014-03-01 17:58:36 -05:00
Gered 15c230f0ad add functions to allow resetting of the jtwig function repository 2014-03-01 17:49:27 -05:00
Gered b892b82221 move jtwig context related option handling to make-context 2014-03-01 16:48:18 -05:00
Gered 7bb21bbeef add doc comments and minor cleanup 2014-03-01 16:35:30 -05:00
Gered 746cce94f0 pass in our JTwig functions repo object in to all new context objects 2014-03-01 16:13:01 -05:00
Gered 8baf4e6045 add macro for defining custom JTwig functions 2014-03-01 16:12:14 -05:00
Gered ad57995af2 add helper function to check if a twig function has already been defined 2014-03-01 15:37:25 -05:00
Gered a124170760 add shared jtwig function repository object 2014-03-01 15:36:28 -05:00
Gered 9cd705f858 add tests for rendering from a file 2014-03-01 14:43:40 -05:00
Gered a44b176139 add explicit check to see if the template file exists
JTwig does this too, but I would rather the thrown exception be a
FileNotFoundException then a JTwig one
2014-03-01 14:43:11 -05:00
Gered bef3836026 oops, forgot that this was changed back to how it was before 2014-03-01 14:28:34 -05:00
Gered 451e3c739e add support for rendering templates from files 2014-03-01 14:25:01 -05:00
Gered d24ecdca24 add some initial tests 2014-03-01 13:01:34 -05:00
Gered 52ddbefe1d change options parameter 2014-03-01 11:32:14 -05:00
Gered abc0d93722 add simple render function 2014-03-01 10:32:21 -05:00
Gered 45c4417e41 initial commit, complete with "hello world" ... woohoo! 2014-03-01 09:08:20 -05:00