Michael Bayne
6dc8e64702
Bump to 1.11.
2015-10-05 15:13:22 -07:00
Michael Bayne
516fde2ea4
Let's put a build status image in the README.
...
Now we're like the cool kids.
2015-03-16 20:37:39 -07:00
Michael Bayne
4091bf1091
Use Java code formatting for examples.
2015-03-16 20:30:42 -07:00
Michael Bayne
f24d4a7795
Reference 1.10 and via https.
2015-02-09 08:37:02 -08:00
Michael Bayne
9d8289caf0
Updated docs for whitespace+newline trimming.
2014-12-20 11:16:01 -08:00
Michael Bayne
17fe45ee8d
Added a caveat default values.
...
I want to ensure the reader notes the difference between variables and
sections.
2014-12-20 11:10:10 -08:00
Michael Bayne
8618f89f7e
Added strictSections configuration.
...
Section behavior used to be somewhat hackily determined from nullValue and
defaultValue, but it was messy. Now it has its own configuration and things are
more explicit.
Previously missing/null sections were treated as false, but if you set
nullValue to something, then missing sections became an error, but null
sections remained false. If you set defaultValue to something, missing sections
went back to being omitted. Kooky.
Now missing sections are omitted, unless you set strictSections to true, in
which case they become an error. nullValue and defaultValue have no impact on
section behavior.
There is no way to make null sections an error, but I don't see any demand for
that, so I'm going to leave that as a TODO.
Closes #60 .
2014-12-20 11:06:46 -08:00
Michael Bayne
3c0c0f5b4a
Yet more edits.
2014-03-31 10:02:15 -07:00
Michael Bayne
69c832a3ac
More edits.
2014-03-31 10:01:15 -07:00
Michael Bayne
a5a30fe5dc
Minor edits.
2014-03-31 10:00:00 -07:00
Michael Bayne
ec38ae2c80
Added details on thread-safety.
2014-03-31 09:57:42 -07:00
Michael Bayne
5ca07f70f0
Widened README to 100 columns.
...
Not sure why I had it at 80 before, though maybe I'm about to find out when I
push and the formatting is all hosed.
2014-03-18 09:29:30 -07:00
Michael Bayne
df1cf9286f
Override is good in code, a distraction in docs.
2014-03-11 07:47:11 -07:00
Michael Bayne
b44e36f6c3
Invertable -> invertible here too.
2014-03-11 07:45:47 -07:00
Michael Bayne
59e06b24c9
Invertable -> invertible. Other minor tidying.
2014-03-11 07:43:44 -07:00
robbytx
2251ac1ed2
Add support for lambdas in inverse blocks
2014-03-10 17:06:21 -05:00
Michael Bayne
50416be2dc
Reference 1.9 release.
2014-02-13 10:19:04 -08:00
egaga
b7a1a8c991
reference this´ instead of self´
2014-01-29 13:51:02 +02:00
Michael Bayne
4bd3410207
Fixed typo in docs.
2014-01-08 11:02:29 -08:00
Michael Bayne
e80aab2a67
Fixed insufficient indentation.
2014-01-08 11:01:56 -08:00
Michael Bayne
12a4b77107
Fixed docs on Escaper, added docs for Formatter.
2014-01-08 10:59:37 -08:00
Michael Bayne
19516ff1e4
Updated nullValue docs to be correct re: Map.
2013-10-08 12:26:39 -07:00
Nat Pryce
0797c89c38
Fixed formatting in README
2013-07-22 22:46:29 +01:00
Nat Pryce
30907579eb
README describes user-extensible escaping rules (not just HTML or no escaping)
2013-07-22 22:45:28 +01:00
Michael Bayne
158b34f041
Update links to 1.8 artifact.
2013-04-05 11:07:41 -07:00
Whymarrh Whitby
2701211e11
Small spelling fix.
2013-03-15 17:57:12 -07:00
Michael Bayne
1d7021b753
Fixed typo.
2013-02-15 16:41:24 -08:00
Michael Bayne
aa56e72513
Truth in exampling.
2013-02-15 16:40:59 -08:00
Michael Bayne
acbddd07a2
Added basic lambda support.
2013-02-15 16:38:36 -08:00
Michael Bayne
9f0bb84db3
Prep for 1.6 release.
2012-08-16 17:38:41 -07:00
Michael Bayne
7701880092
Update download links to latest release version (1.5).
2011-11-22 11:43:55 -08:00
Michael Bayne
adf116992c
Modified compound variables to honor null/default configuration. Closes #10 .
...
Kali/Bertrand convinced me that being consistent with other Mustache
implementations is more important than whatever wacky reasons I was harboring
for keeping compound variables different than singleton sections.
2011-10-29 14:38:56 -07:00
Michael Bayne
37884af44d
Fixed thinko.
2011-10-29 13:19:16 -07:00
Michael Bayne
8ce01cd060
Added missing bangs, nixed quotes.
2011-10-29 13:17:56 -07:00
Michael Bayne
66ba7c8cf8
Added additional information about compound keys and null/default values.
2011-10-29 13:14:02 -07:00
Michael Bayne
4367ff6784
Only skip newlines if a tag is the only thing on the line.
...
Otherwise you get undesirable newline skipping if you do things like, for
example:
{{#foos}}
{{bar}}{{^-last}}, {{/-last}}
{{/foos}}
where you want the newline after {{/-last}}, but it was getting skipped.
2011-08-29 14:44:17 -07:00
Michael Bayne
2630e36cbd
Reference the 1.3 release artifact.
2011-06-03 16:43:55 -07:00
Michael Bayne
7c05c7ca05
Unwrap line.
2011-05-28 10:52:36 -07:00
Michael Bayne
7a282c03e5
Fixed booched Markdown tag.
2011-05-28 10:51:09 -07:00
Michael Bayne
9fae13e008
Added Compiler.nullValue() for situations where one wants to provide a value
...
for use when variables resolve to null, but still wishes for exceptions to be
thrown when values are not resolvable (i.e. are typos). Pre-existing behavior
is preserved if one uses defaultValue() or does not change the default
configuration.
Nota bene: there are complexities, so be sure to read the documentation.
2011-05-28 10:42:45 -07:00
Michael Bayne
31d0a0985d
Added usage for default values.
2011-04-15 12:45:54 -07:00
Michael Bayne
d04f2c2f76
Reference the latest release artifact.
2011-04-13 16:20:58 -07:00
Michael Bayne
14e42bc984
Toned down caveat.
2011-04-13 15:44:13 -07:00
Michael Bayne
f34539850a
Added blurb on standards mode.
2011-04-13 15:00:57 -07:00
Michael Bayne
9d8754b130
Fixed {{.}} doc typo.
2011-04-13 14:55:25 -07:00
Michael Bayne
03c02fba96
Formatting tweak.
2011-04-13 14:54:05 -07:00
Michael Bayne
aa5a5bf3c4
Clarify partials documentation a touch.
2011-04-13 14:53:34 -07:00
Michael Bayne
b1262c8edb
Added documentation for {{.}}.
2011-04-13 14:50:18 -07:00
Michael Bayne
ab0e1fdda4
Let's make Partials a subsection of Usage rather than a full top-level section.
2011-04-13 14:43:48 -07:00
Michael Bayne
5b81a46710
Added basic documentation on how to use partials support.
2011-04-13 14:43:17 -07:00