David da Silva
aac23a542c
:ship: bump to version 2.2.0
10 lat temu
David da Silva
20c089392e
:ship: bump to version 2.1.3
10 lat temu
Mike Sherov
853f9c36df
Update UMD Shim to be resilient to HTMLElement global pollution
Please see https://github.com/umdjs/umd/pull/63 and https://github.com/umdjs/umd/issues/35 for more information, but
this change prevents an HTML element with an id of `exports` from causing the UMD shim to incorrectly detect the environment as node.
10 lat temu
Phillip Johnsen
a3f4339c65
Throw error when providing .render() with invalid template type.
As we require the template to be a `string` we now throw an error when given
any other data type. This should provide the developers with a meaningful
error rather than a cryptic TypeError from the murky depths of our source code.
Fixes #464
11 lat temu
David da Silva Contin
55c1370a11
:ship: bump to version 2.1.2
11 lat temu
Yousef Cisco
a572642ee4
Added global Mustache definition
11 lat temu
David da Silva Contin
aef96817ae
:ship: bump to version 2.1.1
11 lat temu
Phillip Johnsen
8adacd1641
Bugfix for null/undefined when using dot notation
11 lat temu
Phillip Johnsen
fc6d73b353
Bugfix for using values from view's context prototype.
Fixes #445
11 lat temu
David da Silva Contin
b479bb8fb8
:ship: bump to version 2.1.0
11 lat temu
Phillip Johnsen
e801e842a7
Bugfix for view context cache picking methods from Object.prototype instead of the view.
Fixes #442
11 lat temu
Fabio Zendhi Nagao
60c2da8078
Minor changes to make it compatible with both WSH and ASP (eslint compatible)
Made it eslint compatible.
11 lat temu
Phillip Johnsen
1a2a369605
eslinting the code
11 lat temu
David da Silva
b5cc26842b
:ship: bump to version 2.0.0
11 lat temu
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`.
11 lat temu
Phillip Johnsen
32935dc09b
Bugfix for number rendered as [object Object]
+ minor fix for better error message when running specific render test
Fixes #415
11 lat temu
David da Silva
a0204307c6
fixing null and undefined lookup, fixes #390, #397, #409
11 lat temu
David da Silva
d4ba5a19d4
bump to version 1.1.0
11 lat temu
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 lat temu
Phillip Johnsen
deaf0ba982
if-else instead seems to fix perf problems
11 lat temu
Phillip Johnsen
3f298fdb96
Refactor Writer.renderTokens() for better readability.
Split the old Writer.renderTokens() into several small functions with a single responsible.
11 lat temu
David da Silva
2ba7481d41
bump to version 1.0.0, resolves #325
11 lat temu
Chris Buckley
d9aa703014
Only access properties of objects on Context.lookup
12 lat temu
Ionică Bizău
fe05454e01
Updated version patch
12 lat temu
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 lat temu
Michael Jackson
799f55d157
Simplify UMD wrapper
12 lat temu
Michael Jackson
7301707703
Inline tag compilation
12 lat temu
Michael Jackson
d56f23e769
Save local reference to cache
12 lat temu
Michael Jackson
0295646b67
More style tweaks
12 lat temu
Michael Jackson
ea3d4433cb
Formatting tweaks
12 lat temu
Michael Jackson
96c43e4c21
Documentation tweaks
12 lat temu
Michael Jackson
58f77330ef
Version 0.8.1
12 lat temu
Michael Jackson
d6fa9285c1
Check for existence of partial template before parsing
12 lat temu
Lakshan Perera
42ec324c8f
When rendering partials, pass the partial template instead of the original template.
12 lat temu
Michael Jackson
16ffa430a1
Style tweaks
12 lat temu
Michael Jackson
e4a68c9e49
Version 0.8.0
12 lat temu
Michael Jackson
99c1149aff
Small tweaks
12 lat temu
Michael Jackson
ff6a093981
Small tweaks
12 lat temu
Michael Jackson
c4b345f14c
Smaller API surface area
Removed cache* functions altogether. mustache.parse is all that's
really needed.
12 lat temu
Michael Jackson
b114120741
Major reorganization and cleanup
12 lat temu
Michael Jackson
b626d12395
Version 0.7.3
12 lat temu
Michael Jackson
b60aa6f0f1
Pre-cache view for dot references
12 lat temu
Michael Jackson
da16eada83
Allow a string to act as context
Fixes #321
12 lat temu
Michael Jackson
411edae061
Fix [object Object] errors
Fixes #322
Fixes #330
Fixes #331
Fixes #334
12 lat temu
Michael Jackson
48fb97b4ef
Add isFunction helper
12 lat temu
Michael Jackson
397e56dabe
Fix JSHint errors
12 lat temu
Michael Jackson
512b2e8df1
Simplify some logic
12 lat temu
Michael Jackson
0be4e2b944
Rename variable
13 lat temu
Michael Jackson
f8bfbd2820
Don't use module object in CommonJS
Fixes #308
Fixes #285
13 lat temu
Michael Jackson
642227daa7
Small tweaks
13 lat temu