Gered
4315ddfa54
rename option to better reflect it's purpose
2014-06-14 17:58:28 -04:00
Gered
b2c31e5d2c
cleanup
2014-06-14 17:56:24 -04:00
Gered
e0b21871a6
let's be honest -- the most common scenario is for this to be turned on
2014-06-14 17:42:55 -04:00
Gered
da0097a100
replace all the individual option toggle functions with set-options!
2014-06-14 17:37:17 -04:00
Gered
841b15e11d
replace old 'skip-model-map-stringify?' option with a new global option
...
as well, by default now, keys will NOT be automatically stringified. the
user must turn this behaviour on explicitly. this is to reduce the level
of "magic" that happens behind the scenes (if there was a 100% fool-
proof method of stringifying/keywordizing back and forth as needed
without ever being an issue i would turn this behaviour on all the time)
2014-06-13 15:23:42 -04:00
Gered
c5f281282b
nitpicky
2014-06-01 17:11:58 -04:00
Gered
75c8abd7b5
update stylesheet/javascript functions with check for minified urls
2014-06-01 17:10:30 -04:00
Gered
b633939883
move this out to a separate def for now, will add as an option later
2014-06-01 17:06:35 -04:00
Gered
a03c5a67d8
add core function to toggle :check-for-minified-web-resources on/off
2014-06-01 17:04:18 -04:00
Gered
751bf1bf79
add new :check-for-minified-web-resources option
2014-06-01 17:00:41 -04:00
Gered
d455c6c332
move options atom to avoid an upcoming circular dependency issue
2014-06-01 16:54:03 -04:00
Gered
12aabb6fd8
minor refactoring
2014-06-01 16:45:22 -04:00
Gered
1c434caed2
jtwig's own title function already does this. whoops
2014-03-23 13:17:24 -04:00
Gered
fd73645574
rearrange nth function alphabetically
2014-03-23 11:32:16 -04:00
Gered
d807f45091
add normalize_space
2014-03-23 11:31:35 -04:00
Gered
a45bb27479
add center
2014-03-23 11:27:08 -04:00
Gered
04c442a8f8
add pad_right
2014-03-23 11:25:41 -04:00
Gered
b6d0f3015d
add pad_left
2014-03-23 11:24:21 -04:00
Gered
6b8889752c
add repeat
2014-03-23 11:18:04 -04:00
Gered
f316f35532
add wrap
2014-03-23 11:11:00 -04:00
Gered
b8c938b2ea
add capitalize_all
2014-03-23 10:28:40 -04:00
Gered
2a448b2839
should be throwing exceptions if resource files not found
...
by default get-resource-path returns nil if the filename doesnt specify
a file which isn't in the classpath
2014-03-23 10:07:00 -04:00
Gered
0358df49c4
implement checking for existence of files inside jar archives
2014-03-23 10:06:14 -04:00
Gered
a84c8588bd
proper method of rendering template files contained in jars
2014-03-23 09:43:05 -04:00
Gered
f68862e784
extract function to check if file exists
...
this will need to be extended to also check for the existance of files
inside of jars
2014-03-23 09:19:04 -04:00
Gered
91b71370bf
add helper template functions to include CSS and JS files
2014-03-22 18:55:12 -04:00
Gered
1b4fa0fa6f
add utils namespace. move common utility functions over
2014-03-22 18:54:33 -04:00
Gered
57bb442808
include web-functions in the standard set of repository functions
2014-03-22 17:09:39 -04:00
Gered
32a03b3507
add web-functions
2014-03-22 17:09:09 -04:00
Gered
4cdf060750
add servlet context path middleware
...
will be used by functions yet-to-be-added
2014-03-22 16:57:21 -04:00
Gered
0b773a9423
don't convert objects to maps when converting from java to clojure
2014-03-05 18:31:19 -05:00
Gered
852bd519c0
add 'dump_table' function
2014-03-05 18:26:12 -05:00
Gered
8f47565e0a
update standard function names to be more consistent with the others
2014-03-05 18:14:30 -05:00
Gered
8d6eba99b0
update namespace doc comment
2014-03-04 16:46:00 -05:00
Gered
d4ec61b306
add more type hints
2014-03-04 16:42:44 -05:00
Gered
fdcd0d74d3
add alias for "blankIfNull"
2014-03-04 14:37:48 -05:00
Gered
559936b839
add no-alias arg overload for add-function!. update some doc comments
2014-03-04 13:59:23 -05:00
Gered
a7e6b70ea4
standard function now defined in a map which can be easily reloaded
2014-03-04 13:25:58 -05:00
Gered
f71272a8a5
typo
2014-03-04 12:42:38 -05:00
Gered
8041c4cae3
pprint isn't really a 'core' function i guess, so we should have a :use
...
tests failed to run, complaining about pprint being undefined until this
was added anyway
2014-03-04 12:14:10 -05:00
Gered
880dd02e91
add standard functions (those not already provided by jtwig)
2014-03-04 12:11:53 -05:00
Gered
bd6b5962cb
add support for template function aliases
2014-03-04 12:10:43 -05:00
Gered
f879a59b72
get rid of debug println
2014-03-04 10:54:14 -05:00
Gered
1e46b1f207
allow redefining template functions. wrap exceptions in FunctionException
2014-03-04 10:53:23 -05:00
Gered
6128447121
move code to manage twig template functions into separate namespace
2014-03-04 08:40:26 -05:00
Gered
c11475d112
change function name
2014-03-02 15:47:50 -05:00
Gered
0bf32bdd67
add comments to document the options. add missing option toggle function
2014-03-02 15:42:00 -05:00
Gered
050cb114f4
rename option keyword
2014-03-02 15:32:17 -05:00
Gered
826fdb3832
implement support for the new :skip-file-modification-check option
2014-03-02 15:30:49 -05:00
Gered
aaced50b76
add option to skip file modification date checks if it is cached already
2014-03-02 14:58:22 -05:00