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 лет назад
Michael Jackson
c6aef7ea12
Update testing instructions
14 лет назад
Michael Jackson
eda5173061
Remove Ruby dependency
14 лет назад
Michael Jackson
8efd0538cf
This test should not work
14 лет назад
Michael Jackson
fbc66a8140
Another rewrite
- Cleaner separation of responsibilities in the code between
scanning, parsing, compiling, and rendering functions.
- Much faster
14 лет назад
Michael Jackson
70a4f2b986
Run unit tests using vows (requires node)
14 лет назад
Michael Jackson
2fe464e2a3
Ignore node_modules
14 лет назад
wittemann
1978cf2a20
Merge branch 'master' of github.com:wittemann/mustache.js
14 лет назад
wittemann
7864e65efb
Updated the qooxdoo wrapper to reflect the render method.
14 лет назад
wittemann
acb6d1a3c9
Merge remote branch 'janl/master'
14 лет назад
Jan Lehnardt
870f9492e4
Merge pull request #211 from abelmartin/master
Fixed a variable error in the documentation
14 лет назад
Abel Martin
0122722101
Changed 'nothin' => 'person' to make the documentation match the output.
14 лет назад
Chad Weider
e2d919a214
Strict HTML escape.
This replaces the soft escaping ('&' -> '&') with strict escaping ('&' -> '&'). This new behavior matches that of Ruby and other Mustache implementations.
Other points:
- `dot_notation` currency is changed to use an ASCII character, since the JS interpreters did not appreciate unicode.
- Forward slash is added to escape list c/o OWASP recommendations.
14 лет назад
Jan Lehnardt
2f135e2e15
add minify task
14 лет назад
Michael Jackson
f311f880ae
Watch the whitespace. ;)
14 лет назад
John Lindal
85fe317213
update backslash unit tests
14 лет назад
Michael Jackson
b487affecd
Remove dead code
14 лет назад
Michael Jackson
f3e246f0f9
Fix MooTools build task
14 лет назад
Jan Lehnardt
4e94d049b5
Merge pull request #164 from utvara/master
Fixed a bug when context is a string
14 лет назад
utvara
13007fd9d6
added test case for string as a context
14 лет назад
Jan Lehnardt
2de401dd8a
see git log
14 лет назад
Jan Lehnardt
a91e7b7f80
Merge pull request #174 from bennage/master
Add nuget spec for 0.5.x
14 лет назад
Jan Lehnardt
6231d203f7
bump versions
14 лет назад
Jan Lehnardt
0fefe1ef8e
Merge pull request #75 from oskarkrawczyk/master
Added MooTools compat plugin
14 лет назад
Christopher Bennage
51e15e25a8
added nuget specification
14 лет назад
utvara
4adfb48205
Fixed a bug when context is a string
14 лет назад
Michael Jackson
58c91c8c7d
Use String += instead of Array#join
14 лет назад
Michael Jackson
993aed08a2
Change findName to lookup
14 лет назад
Michael Jackson
3126a1c131
Remove ability to use a "streaming" function
The "send" function from the 0.4 API doesn't actually stream the template
so much as it just passes chunks of the rendered template through to the
callback as they are rendered. The callbacks are fired synchronously either
way, and using a "send" function just adds extra overhead and makes things
slower.
14 лет назад
Michael Jackson
8320730ea9
Omit carriage returns
Fixes #156
14 лет назад
Michael Jackson
b603a10812
Fixes #155
14 лет назад
Michael Jackson
9240db10be
Add note about usage in CommonJS
14 лет назад
Michael Jackson
057bc20880
Add spec for multiline comment
Fixes #47
14 лет назад