Phillip Johnsen
1a2a369605
eslinting the code
il y a 11 ans
David da Silva
b5cc26842b
:ship: bump to version 2.0.0
il y a 11 ans
David da Silva
85b940801c
bump to version 1.2.0
Added `-v` option to CLI, bugfix for rendering `Number` when it was the
context, and specified files in package.json for cleaner `npm install`.
il y a 11 ans
Phillip Johnsen
32935dc09b
Bugfix for number rendered as [object Object]
+ minor fix for better error message when running specific render test
Fixes #415
il y a 11 ans
David da Silva
a0204307c6
fixing null and undefined lookup, fixes #390, #397, #409
il y a 11 ans
David da Silva
d4ba5a19d4
bump to version 1.1.0
il y a 11 ans
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
il y a 11 ans
Phillip Johnsen
deaf0ba982
if-else instead seems to fix perf problems
il y a 11 ans
Phillip Johnsen
3f298fdb96
Refactor Writer.renderTokens() for better readability.
Split the old Writer.renderTokens() into several small functions with a single responsible.
il y a 11 ans
David da Silva
2ba7481d41
bump to version 1.0.0, resolves #325
il y a 11 ans
Chris Buckley
d9aa703014
Only access properties of objects on Context.lookup
il y a 12 ans
Ionică Bizău
fe05454e01
Updated version patch
il y a 12 ans
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.
il y a 12 ans
Michael Jackson
799f55d157
Simplify UMD wrapper
il y a 12 ans
Michael Jackson
7301707703
Inline tag compilation
il y a 12 ans
Michael Jackson
d56f23e769
Save local reference to cache
il y a 12 ans
Michael Jackson
0295646b67
More style tweaks
il y a 12 ans
Michael Jackson
ea3d4433cb
Formatting tweaks
il y a 12 ans
Michael Jackson
96c43e4c21
Documentation tweaks
il y a 12 ans
Michael Jackson
58f77330ef
Version 0.8.1
il y a 12 ans
Michael Jackson
d6fa9285c1
Check for existence of partial template before parsing
il y a 12 ans
Lakshan Perera
42ec324c8f
When rendering partials, pass the partial template instead of the original template.
il y a 12 ans
Michael Jackson
16ffa430a1
Style tweaks
il y a 12 ans
Michael Jackson
e4a68c9e49
Version 0.8.0
il y a 12 ans
Michael Jackson
99c1149aff
Small tweaks
il y a 12 ans
Michael Jackson
ff6a093981
Small tweaks
il y a 12 ans
Michael Jackson
c4b345f14c
Smaller API surface area
Removed cache* functions altogether. mustache.parse is all that's
really needed.
il y a 12 ans
Michael Jackson
b114120741
Major reorganization and cleanup
il y a 12 ans
Michael Jackson
b626d12395
Version 0.7.3
il y a 12 ans
Michael Jackson
b60aa6f0f1
Pre-cache view for dot references
il y a 12 ans
Michael Jackson
da16eada83
Allow a string to act as context
Fixes #321
il y a 12 ans
Michael Jackson
411edae061
Fix [object Object] errors
Fixes #322
Fixes #330
Fixes #331
Fixes #334
il y a 12 ans
Michael Jackson
48fb97b4ef
Add isFunction helper
il y a 12 ans
Michael Jackson
397e56dabe
Fix JSHint errors
il y a 12 ans
Michael Jackson
512b2e8df1
Simplify some logic
il y a 12 ans
Michael Jackson
0be4e2b944
Rename variable
il y a 13 ans
Michael Jackson
f8bfbd2820
Don't use module object in CommonJS
Fixes #308
Fixes #285
il y a 13 ans
Michael Jackson
642227daa7
Small tweaks
il y a 13 ans
Michael Jackson
8a7123706f
Group all exports
il y a 13 ans
Michael Jackson
3aa093391b
Use empty object as default view
Fixes #238
il y a 13 ans
Michael Jackson
2ab776c3a5
Locally cache some references
il y a 13 ans
Michael Jackson
a5d0199541
Style tweaks
il y a 13 ans
Michael Jackson
f6496c8c38
Style tweaks, added comments
il y a 13 ans
Michael Jackson
3cdb300ccb
Use delete instead of splice
il y a 13 ans
Michael Jackson
320ae73475
Style tweaks
il y a 13 ans
Michael Jackson
f8eb6e8f38
Remove Context#clearCache
il y a 13 ans
Michael Jackson
49de778abb
Inline rendering functions
il y a 13 ans
Michael Jackson
d5bf677431
Remove unnecessary line
il y a 13 ans
Michael Jackson
a8b6a96a83
Style tweaks
il y a 13 ans
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
il y a 13 ans