Michael Jackson
9075d25b86
Update CHANGES
13 년 전
Michael Jackson
4fd638e9e6
Merge remote-tracking branch 'upstream/master'
13 년 전
Michael Jackson
eb6ceb8b14
Fixed rendering error when using nested higher-order sections
Fixes #274
13 년 전
Michael Jackson
b9701d58f5
Add failing test for nested higher-order sections
13 년 전
Michael Jackson
eee8d695fc
Better error reporting
13 년 전
Michael Jackson
4e30d03def
Merge pull request #283 from busticated/amdwrapper
clean up and standardize UMD wrapper
13 년 전
busticated
d90d37f25f
handle case where exports is null
13 년 전
busticated
fa214bd660
clean up and standardize UMD wrapper
13 년 전
Michael Jackson
51eec96abc
Style tweaks
13 년 전
Jan Lehnardt
4474099089
Merge pull request #280 from buymeasoda/docs-for-compile
Add compiled templates overview and examples to readme
13 년 전
Ian Hill
7a2cb9976d
Add compiled templates overview and examples to readme
13 년 전
Michael Jackson
3fea961f06
Use mocha for testing
13 년 전
Michael Jackson
c09c7f54a3
Version 0.7.1
13 년 전
Michael Jackson
829698388c
Merge remote-tracking branch 'upstream/master'
13 년 전
Michael Jackson
e0edb356ae
Fail gracefully on empty template
Fixes #267
13 년 전
Michael Jackson
79b08c3091
Merge pull request #264 from mattsacks/check-falsy
Don't evaluate lambdas that return falsy values as an empty string.
13 년 전
Michael Jackson
1cd18cffbe
Merge pull request #273 from woledzki/master
Performance fix for iphones and ipads
13 년 전
Wojtek
9de23a204f
performance fix for ipads & iphones
13 년 전
Matt Sacks
d59f02f622
Don't evaluate lambdas that return falsy values as an empty string.
Issue: If I create a Mustache lambda to return numbers and I expect 0 to be of
those numbers, I'll instead only receive an empty string for 0 because it
evaluates to falsy.
Fix: Check the result of the lambda to be undefined or null. Only then should
it return the empty string.
13 년 전
wittemann
4c3caf8f49
Merge remote-tracking branch 'janl/master'
13 년 전
Michael Jackson
6bbc85fe26
Merge pull request #256 from julien-c/patch-1
Sections - undefined keys
13 년 전
Michael Jackson
9fb00529d4
Updated with most recent changes
13 년 전
Michael Jackson
26dfacd8be
Add Mustache.compileTokens
Fixes #258
13 년 전
Michael Jackson
658f9e051f
Cache partials by template, not by name
Fixes #257
13 년 전
Michael Jackson
85014a4f6c
Add spec for partial caching issue
13 년 전
Julien Chaumond
03a9da9b93
Update README.md
13 년 전
Michael Jackson
8b19e0ef23
Version 0.7.0
13 년 전
Michael Jackson
afc6e0f1b1
Changed wording of some specs
13 년 전
Michael Jackson
0ea95746a8
Allow auto-loading of partials
Fixes #247
13 년 전
Michael Jackson
a5dbb708d7
Fix text token offsets
Text tokens now accurately reflect their content's exact position
in the original template.
13 년 전
Michael Jackson
1159c236ef
Simplify CommonJS check
13 년 전
Michael Jackson
7489f70790
Fix exports.to_html
13 년 전
Michael Jackson
fea239fb3c
Use String#+= instead of Array#push + Array#join
13 년 전
Michael Jackson
f41bbb1f66
Use exported parse function
13 년 전
Michael Jackson
2bc29ec608
Prevent global var leak
Also, changed order of arguments to internal render function.
13 년 전
Michael Jackson
e45bbb3e87
Better variable names
13 년 전
Michael Jackson
dc6cdf1ae6
Rename Renderer => Writer
13 년 전
Michael Jackson
0c0c6fde3a
Don't use eval
Fixes #207 #210
13 년 전
Chad Weider
dac64709f0
Replace code generation with straight function execution.
This is a strict port of the existing process - there are many opportunities for optimization based on this.
13 년 전
Michael Jackson
0a6d71ca90
Add tests for null view
13 년 전
Michael Jackson
544a32b7a1
Make high-level API same as Renderer API
Also, allow partials to be passed to the function that is returned
for pre-compiled templates. This makes the API more consistent all
around, but comes with the caveat that renderers are much more
aggressive at caching. Now, any time a template or partial is
compiled with the same name as a previously compiled template the
cached version is used.
Fixes #240
13 년 전
Michael Jackson
18e797d47e
Coerce { token types to &
13 년 전
Michael Jackson
3fb61fc056
More concise token format
13 년 전
Michael Jackson
be4fd1cc29
Text passed to higher-order sections unrendered
Fixes #187
13 년 전
Michael Jackson
f5d18caee2
Version 0.6.0
13 년 전
Michael Jackson
bf61bf6199
Add volo support
Fixes #249
13 년 전
Michael Jackson
f7c6a2064d
Track changes in CHANGES
13 년 전
Michael Jackson
4236e61c95
Remove newlines
13 년 전
Michael Jackson
5ab345eddf
Use JavaScript's definition of falsy
Fixes #186
13 년 전
Michael Jackson
a6420e433e
Use exported escaping function
Fixes #244
13 년 전