Michael Jackson
e3ac2d245c
Fix spelling in comment
vor 14 Jahren
Michael Jackson
33920ad674
Add AMD module support
vor 14 Jahren
Michael Jackson
9079bd88f2
Add lint task using JSHint
vor 14 Jahren
Jan Lehnardt
f7e843487b
Merge pull request #228 from TimZaripov/master
small error in README.md
vor 14 Jahren
TimZaripov
74ac6ae144
fixed error in README.md -- in case of {"person": true} text from template
{{#person}}
Never shown!
{{/person}}
WILL be shown
vor 14 Jahren
Jan Lehnardt
d7ddff2fc8
Merge pull request #227 from shenfeng/master
fix 2 unintended global var.
vor 14 Jahren
feng
118cf2fc9e
fix global var leak
vor 14 Jahren
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 .
vor 14 Jahren
Michael Jackson
bb58576ba5
Update testing instructions
vor 14 Jahren
Michael Jackson
144d8bef85
Workaround for old SpiderMonkey builds
Fixes #189
vor 14 Jahren
Michael Jackson
c316c973f6
Run tests on node 0.6
vor 14 Jahren
Michael Jackson
6171fe9348
Merge remote-tracking branch 'upstream/master'
Conflicts:
mustache.js
spec/_files/escaped.txt
test/_files/escaped.js
vor 14 Jahren
Michael Jackson
72971b320c
Use var declaration for helper functions
vor 14 Jahren
Michael Jackson
585bff401a
Run tests using node on Travis
vor 14 Jahren
Michael Jackson
e53ce34af4
Fix quote implementation for environments without JSON.stringify
vor 14 Jahren
Michael Jackson
b8a14eafe9
Strict escaping of ampersands
vor 14 Jahren
Michael Jackson
cae4fd5abe
Declare stripSpace with var
vor 14 Jahren
Michael Jackson
677489b25f
Merge pull request #199 from cweider/strict-escape-2
Strict escape II
vor 14 Jahren
Jan Lehnardt
3424a740f3
Merge pull request #214 from wittemann/master
Updated qooxdoo wrapper
vor 14 Jahren
Michael Jackson
9cc8ef13fd
Remove extra slashes
vor 14 Jahren
Michael Jackson
3355e1720d
Version 0.5.1-dev
vor 14 Jahren
Michael Jackson
c6aef7ea12
Update testing instructions
vor 14 Jahren
Michael Jackson
eda5173061
Remove Ruby dependency
vor 14 Jahren
Michael Jackson
8efd0538cf
This test should not work
vor 14 Jahren
Michael Jackson
fbc66a8140
Another rewrite
- Cleaner separation of responsibilities in the code between
scanning, parsing, compiling, and rendering functions.
- Much faster
vor 14 Jahren
Michael Jackson
70a4f2b986
Run unit tests using vows (requires node)
vor 14 Jahren
Michael Jackson
2fe464e2a3
Ignore node_modules
vor 14 Jahren
wittemann
1978cf2a20
Merge branch 'master' of github.com:wittemann/mustache.js
vor 14 Jahren
wittemann
7864e65efb
Updated the qooxdoo wrapper to reflect the render method.
vor 14 Jahren
wittemann
acb6d1a3c9
Merge remote branch 'janl/master'
vor 14 Jahren
Jan Lehnardt
870f9492e4
Merge pull request #211 from abelmartin/master
Fixed a variable error in the documentation
vor 14 Jahren
Abel Martin
0122722101
Changed 'nothin' => 'person' to make the documentation match the output.
vor 14 Jahren
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.
vor 14 Jahren
Jan Lehnardt
2f135e2e15
add minify task
vor 14 Jahren
Michael Jackson
f311f880ae
Watch the whitespace. ;)
vor 14 Jahren
John Lindal
85fe317213
update backslash unit tests
vor 14 Jahren
Michael Jackson
b487affecd
Remove dead code
vor 14 Jahren
Michael Jackson
f3e246f0f9
Fix MooTools build task
vor 14 Jahren
Jan Lehnardt
4e94d049b5
Merge pull request #164 from utvara/master
Fixed a bug when context is a string
vor 14 Jahren
utvara
13007fd9d6
added test case for string as a context
vor 14 Jahren
Jan Lehnardt
2de401dd8a
see git log
vor 14 Jahren
Jan Lehnardt
a91e7b7f80
Merge pull request #174 from bennage/master
Add nuget spec for 0.5.x
vor 14 Jahren
Jan Lehnardt
6231d203f7
bump versions
vor 14 Jahren
Jan Lehnardt
0fefe1ef8e
Merge pull request #75 from oskarkrawczyk/master
Added MooTools compat plugin
vor 14 Jahren
Christopher Bennage
51e15e25a8
added nuget specification
vor 14 Jahren
utvara
4adfb48205
Fixed a bug when context is a string
vor 14 Jahren
Michael Jackson
58c91c8c7d
Use String += instead of Array#join
vor 14 Jahren
Michael Jackson
993aed08a2
Change findName to lookup
vor 14 Jahren
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.
vor 14 Jahren
Michael Jackson
8320730ea9
Omit carriage returns
Fixes #156
vor 14 Jahren