Michael Jackson
7b4c1bf7ce
Update testing instructions
pirms 13 gadiem
Michael Jackson
af935e3441
Simplify test
pirms 13 gadiem
Michael Jackson
a5d0199541
Style tweaks
pirms 13 gadiem
Michael Jackson
f6496c8c38
Style tweaks, added comments
pirms 13 gadiem
Michael Jackson
3cdb300ccb
Use delete instead of splice
pirms 13 gadiem
Michael Jackson
320ae73475
Style tweaks
pirms 13 gadiem
Michael Jackson
381aca9feb
Update CHANGES
pirms 13 gadiem
Michael Jackson
f8eb6e8f38
Remove Context#clearCache
pirms 13 gadiem
Michael Jackson
49de778abb
Inline rendering functions
pirms 13 gadiem
Michael Jackson
d5bf677431
Remove unnecessary line
pirms 13 gadiem
Michael Jackson
a8b6a96a83
Style tweaks
pirms 13 gadiem
Michael Jackson
0d8b00fa67
Allow compiling of tokens without template
This commit allows pre-compiled templates to be executed without
keeping the original template around. It is still required when using
higher-order functions.
Fixes #262
pirms 13 gadiem
Michael Jackson
66020162c8
Update CHANGES
pirms 13 gadiem
Michael Jackson
740fd72d26
Version 0.7.2
pirms 13 gadiem
Michael Jackson
9075d25b86
Update CHANGES
pirms 13 gadiem
Michael Jackson
4fd638e9e6
Merge remote-tracking branch 'upstream/master'
pirms 13 gadiem
Michael Jackson
eb6ceb8b14
Fixed rendering error when using nested higher-order sections
Fixes #274
pirms 13 gadiem
Michael Jackson
b9701d58f5
Add failing test for nested higher-order sections
pirms 13 gadiem
Michael Jackson
eee8d695fc
Better error reporting
pirms 13 gadiem
Michael Jackson
4e30d03def
Merge pull request #283 from busticated/amdwrapper
clean up and standardize UMD wrapper
pirms 13 gadiem
busticated
d90d37f25f
handle case where exports is null
pirms 13 gadiem
busticated
fa214bd660
clean up and standardize UMD wrapper
pirms 13 gadiem
Michael Jackson
51eec96abc
Style tweaks
pirms 13 gadiem
Jan Lehnardt
4474099089
Merge pull request #280 from buymeasoda/docs-for-compile
Add compiled templates overview and examples to readme
pirms 13 gadiem
Ian Hill
7a2cb9976d
Add compiled templates overview and examples to readme
pirms 13 gadiem
Michael Jackson
3fea961f06
Use mocha for testing
pirms 13 gadiem
Michael Jackson
c09c7f54a3
Version 0.7.1
pirms 13 gadiem
Michael Jackson
829698388c
Merge remote-tracking branch 'upstream/master'
pirms 13 gadiem
Michael Jackson
e0edb356ae
Fail gracefully on empty template
Fixes #267
pirms 13 gadiem
Michael Jackson
79b08c3091
Merge pull request #264 from mattsacks/check-falsy
Don't evaluate lambdas that return falsy values as an empty string.
pirms 13 gadiem
Michael Jackson
1cd18cffbe
Merge pull request #273 from woledzki/master
Performance fix for iphones and ipads
pirms 13 gadiem
Wojtek
9de23a204f
performance fix for ipads & iphones
pirms 13 gadiem
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.
pirms 13 gadiem
wittemann
4c3caf8f49
Merge remote-tracking branch 'janl/master'
pirms 13 gadiem
Michael Jackson
6bbc85fe26
Merge pull request #256 from julien-c/patch-1
Sections - undefined keys
pirms 13 gadiem
Michael Jackson
9fb00529d4
Updated with most recent changes
pirms 13 gadiem
Michael Jackson
26dfacd8be
Add Mustache.compileTokens
Fixes #258
pirms 13 gadiem
Michael Jackson
658f9e051f
Cache partials by template, not by name
Fixes #257
pirms 13 gadiem
Michael Jackson
85014a4f6c
Add spec for partial caching issue
pirms 13 gadiem
Julien Chaumond
03a9da9b93
Update README.md
pirms 13 gadiem
Michael Jackson
8b19e0ef23
Version 0.7.0
pirms 13 gadiem
Michael Jackson
afc6e0f1b1
Changed wording of some specs
pirms 13 gadiem
Michael Jackson
0ea95746a8
Allow auto-loading of partials
Fixes #247
pirms 13 gadiem
Michael Jackson
a5dbb708d7
Fix text token offsets
Text tokens now accurately reflect their content's exact position
in the original template.
pirms 13 gadiem
Michael Jackson
1159c236ef
Simplify CommonJS check
pirms 13 gadiem
Michael Jackson
7489f70790
Fix exports.to_html
pirms 13 gadiem
Michael Jackson
fea239fb3c
Use String#+= instead of Array#push + Array#join
pirms 13 gadiem
Michael Jackson
f41bbb1f66
Use exported parse function
pirms 13 gadiem
Michael Jackson
2bc29ec608
Prevent global var leak
Also, changed order of arguments to internal render function.
pirms 13 gadiem
Michael Jackson
e45bbb3e87
Better variable names
pirms 13 gadiem