Phillip Johnsen
d1bb461caf
Run jshint before tests.
- Documented required version of npm while developing
- Use the latest npm client for node >= v0.8 on travis
Special quirks to get node v0.6 supported:
- npm client v1.3.26 on travis
- jshint 2.4.4 as >= 2.5.x breaks
11 年之前
Phillip Johnsen
deaf0ba982
if-else instead seems to fix perf problems
11 年之前
Phillip Johnsen
3f298fdb96
Refactor Writer.renderTokens() for better readability.
Split the old Writer.renderTokens() into several small functions with a single responsible.
11 年之前
David da Silva
2ba7481d41
bump to version 1.0.0, resolves #325
11 年之前
Chris Buckley
d9aa703014
Only access properties of objects on Context.lookup
12 年之前
Ionică Bizău
fe05454e01
Updated version patch
12 年之前
jrburke
2e12efdeda
Fixes AMD registration, volo package.json entry
This change allows the AMD define signature to match what common AMD optimizers use to find define calls that need naming.
Also updates the volo package.json entry so that the correct version of mustache can be fetched properly.
12 年之前
Michael Jackson
799f55d157
Simplify UMD wrapper
12 年之前
Michael Jackson
7301707703
Inline tag compilation
12 年之前
Michael Jackson
d56f23e769
Save local reference to cache
12 年之前
Michael Jackson
0295646b67
More style tweaks
12 年之前
Michael Jackson
ea3d4433cb
Formatting tweaks
12 年之前
Michael Jackson
96c43e4c21
Documentation tweaks
12 年之前
Michael Jackson
58f77330ef
Version 0.8.1
12 年之前
Michael Jackson
d6fa9285c1
Check for existence of partial template before parsing
12 年之前
Lakshan Perera
42ec324c8f
When rendering partials, pass the partial template instead of the original template.
12 年之前
Michael Jackson
16ffa430a1
Style tweaks
12 年之前
Michael Jackson
e4a68c9e49
Version 0.8.0
12 年之前
Michael Jackson
99c1149aff
Small tweaks
12 年之前
Michael Jackson
ff6a093981
Small tweaks
12 年之前
Michael Jackson
c4b345f14c
Smaller API surface area
Removed cache* functions altogether. mustache.parse is all that's
really needed.
12 年之前
Michael Jackson
b114120741
Major reorganization and cleanup
12 年之前
Michael Jackson
b626d12395
Version 0.7.3
12 年之前
Michael Jackson
b60aa6f0f1
Pre-cache view for dot references
12 年之前
Michael Jackson
da16eada83
Allow a string to act as context
Fixes #321
12 年之前
Michael Jackson
411edae061
Fix [object Object] errors
Fixes #322
Fixes #330
Fixes #331
Fixes #334
12 年之前
Michael Jackson
48fb97b4ef
Add isFunction helper
12 年之前
Michael Jackson
397e56dabe
Fix JSHint errors
12 年之前
Michael Jackson
512b2e8df1
Simplify some logic
12 年之前
Michael Jackson
0be4e2b944
Rename variable
13 年之前
Michael Jackson
f8bfbd2820
Don't use module object in CommonJS
Fixes #308
Fixes #285
13 年之前
Michael Jackson
642227daa7
Small tweaks
13 年之前
Michael Jackson
8a7123706f
Group all exports
13 年之前
Michael Jackson
3aa093391b
Use empty object as default view
Fixes #238
13 年之前
Michael Jackson
2ab776c3a5
Locally cache some references
13 年之前
Michael Jackson
a5d0199541
Style tweaks
13 年之前
Michael Jackson
f6496c8c38
Style tweaks, added comments
13 年之前
Michael Jackson
3cdb300ccb
Use delete instead of splice
13 年之前
Michael Jackson
320ae73475
Style tweaks
13 年之前
Michael Jackson
f8eb6e8f38
Remove Context#clearCache
13 年之前
Michael Jackson
49de778abb
Inline rendering functions
13 年之前
Michael Jackson
d5bf677431
Remove unnecessary line
13 年之前
Michael Jackson
a8b6a96a83
Style tweaks
13 年之前
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
13 年之前
Michael Jackson
740fd72d26
Version 0.7.2
13 年之前
Michael Jackson
eb6ceb8b14
Fixed rendering error when using nested higher-order sections
Fixes #274
13 年之前
Michael Jackson
eee8d695fc
Better error reporting
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 年之前