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 лет назад
Michael Jackson
52c7e43a5f
throw inside the if
13 лет назад
Michael Jackson
2a51eeffba
Merge pull request #243 from kannix/patch-1
more stringent CommonJS check
13 лет назад
Bastian Bleker
2afdb083fc
fixed CommonJS check
QUnit defines module too. If you try to use mustache in a QUnit and AMD environment it won't work
13 лет назад
Michael Jackson
6d1954cb5c
Version 0.5.2
13 лет назад
Michael Jackson
a160c16d90
Remove ignored argument
13 лет назад
Michael Jackson
95d6ca9ada
Move views before templates in examples
13 лет назад
Michael Jackson
a8a0392cd6
Added 3-level deep nesting test
Fixes #42
13 лет назад
Michael Jackson
2de3ba6537
Fix JSHint warnings
13 лет назад
Michael Jackson
dbf609fd37
Merge remote-tracking branch 'upstream/master'
13 лет назад
Michael Jackson
9e6943c867
Scanner returns empty string if it can't match
13 лет назад
Jan Lehnardt
37b48496b6
Merge pull request #237 from fisch42/master
add .js to main property in package.json
13 лет назад
fisch42
fe3de766cd
added .js to main property in package.json
13 лет назад
Michael Jackson
008d6c7dcf
Move call to parse into Renderer#compile
14 лет назад
Michael Jackson
e304555333
Fix null section data
Fixes #222
14 лет назад
Michael Jackson
d6068505a3
Fix subtle IE7 bug
Fixes #223
14 лет назад
Michael Jackson
280a00f1c4
Update README
14 лет назад
Michael Jackson
e3ac2d245c
Fix spelling in comment
14 лет назад
Michael Jackson
33920ad674
Add AMD module support
14 лет назад
Michael Jackson
9079bd88f2
Add lint task using JSHint
14 лет назад
Jan Lehnardt
f7e843487b
Merge pull request #228 from TimZaripov/master
small error in README.md
14 лет назад
TimZaripov
74ac6ae144
fixed error in README.md -- in case of {"person": true} text from template
{{#person}}
Never shown!
{{/person}}
WILL be shown
14 лет назад
Jan Lehnardt
d7ddff2fc8
Merge pull request #227 from shenfeng/master
fix 2 unintended global var.
14 лет назад
feng
118cf2fc9e
fix global var leak
14 лет назад
Michael Jackson
a7a6e742d1
Use @cweider's quoting function
Also fixed a bug that occurs when using the triple-stache with a key
that contains a closing stache. Fixes #192 .
14 лет назад
Michael Jackson
bb58576ba5
Update testing instructions
14 лет назад
Michael Jackson
144d8bef85
Workaround for old SpiderMonkey builds
Fixes #189
14 лет назад
Michael Jackson
c316c973f6
Run tests on node 0.6
14 лет назад
Michael Jackson
6171fe9348
Merge remote-tracking branch 'upstream/master'
Conflicts:
mustache.js
spec/_files/escaped.txt
test/_files/escaped.js
14 лет назад
Michael Jackson
72971b320c
Use var declaration for helper functions
14 лет назад
Michael Jackson
585bff401a
Run tests using node on Travis
14 лет назад
Michael Jackson
e53ce34af4
Fix quote implementation for environments without JSON.stringify
14 лет назад
Michael Jackson
b8a14eafe9
Strict escaping of ampersands
14 лет назад
Michael Jackson
cae4fd5abe
Declare stripSpace with var
14 лет назад
Michael Jackson
677489b25f
Merge pull request #199 from cweider/strict-escape-2
Strict escape II
14 лет назад
Jan Lehnardt
3424a740f3
Merge pull request #214 from wittemann/master
Updated qooxdoo wrapper
14 лет назад
Michael Jackson
9cc8ef13fd
Remove extra slashes
14 лет назад
Michael Jackson
3355e1720d
Version 0.5.1-dev
14 лет назад