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 .
il y a 14 ans
Michael Jackson
bb58576ba5
Update testing instructions
il y a 14 ans
Michael Jackson
144d8bef85
Workaround for old SpiderMonkey builds
Fixes #189
il y a 14 ans
Michael Jackson
c316c973f6
Run tests on node 0.6
il y a 14 ans
Michael Jackson
6171fe9348
Merge remote-tracking branch 'upstream/master'
Conflicts:
mustache.js
spec/_files/escaped.txt
test/_files/escaped.js
il y a 14 ans
Michael Jackson
72971b320c
Use var declaration for helper functions
il y a 14 ans
Michael Jackson
585bff401a
Run tests using node on Travis
il y a 14 ans
Michael Jackson
e53ce34af4
Fix quote implementation for environments without JSON.stringify
il y a 14 ans
Michael Jackson
b8a14eafe9
Strict escaping of ampersands
il y a 14 ans
Michael Jackson
cae4fd5abe
Declare stripSpace with var
il y a 14 ans
Michael Jackson
677489b25f
Merge pull request #199 from cweider/strict-escape-2
Strict escape II
il y a 14 ans
Jan Lehnardt
3424a740f3
Merge pull request #214 from wittemann/master
Updated qooxdoo wrapper
il y a 14 ans
Michael Jackson
9cc8ef13fd
Remove extra slashes
il y a 14 ans
Michael Jackson
3355e1720d
Version 0.5.1-dev
il y a 14 ans
Michael Jackson
c6aef7ea12
Update testing instructions
il y a 14 ans
Michael Jackson
eda5173061
Remove Ruby dependency
il y a 14 ans
Michael Jackson
8efd0538cf
This test should not work
il y a 14 ans
Michael Jackson
fbc66a8140
Another rewrite
- Cleaner separation of responsibilities in the code between
scanning, parsing, compiling, and rendering functions.
- Much faster
il y a 14 ans
Michael Jackson
70a4f2b986
Run unit tests using vows (requires node)
il y a 14 ans
Michael Jackson
2fe464e2a3
Ignore node_modules
il y a 14 ans
wittemann
1978cf2a20
Merge branch 'master' of github.com:wittemann/mustache.js
il y a 14 ans
wittemann
7864e65efb
Updated the qooxdoo wrapper to reflect the render method.
il y a 14 ans
wittemann
acb6d1a3c9
Merge remote branch 'janl/master'
il y a 14 ans
Jan Lehnardt
870f9492e4
Merge pull request #211 from abelmartin/master
Fixed a variable error in the documentation
il y a 14 ans
Abel Martin
0122722101
Changed 'nothin' => 'person' to make the documentation match the output.
il y a 14 ans
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.
il y a 14 ans
Jan Lehnardt
2f135e2e15
add minify task
il y a 14 ans
Michael Jackson
f311f880ae
Watch the whitespace. ;)
il y a 14 ans
John Lindal
85fe317213
update backslash unit tests
il y a 14 ans
Michael Jackson
b487affecd
Remove dead code
il y a 14 ans
Michael Jackson
f3e246f0f9
Fix MooTools build task
il y a 14 ans
Jan Lehnardt
4e94d049b5
Merge pull request #164 from utvara/master
Fixed a bug when context is a string
il y a 14 ans
utvara
13007fd9d6
added test case for string as a context
il y a 14 ans
Jan Lehnardt
2de401dd8a
see git log
il y a 14 ans
Jan Lehnardt
a91e7b7f80
Merge pull request #174 from bennage/master
Add nuget spec for 0.5.x
il y a 14 ans
Jan Lehnardt
6231d203f7
bump versions
il y a 14 ans
Jan Lehnardt
0fefe1ef8e
Merge pull request #75 from oskarkrawczyk/master
Added MooTools compat plugin
il y a 14 ans
Christopher Bennage
51e15e25a8
added nuget specification
il y a 14 ans
utvara
4adfb48205
Fixed a bug when context is a string
il y a 14 ans
Michael Jackson
58c91c8c7d
Use String += instead of Array#join
il y a 14 ans
Michael Jackson
993aed08a2
Change findName to lookup
il y a 14 ans
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.
il y a 14 ans
Michael Jackson
8320730ea9
Omit carriage returns
Fixes #156
il y a 14 ans
Michael Jackson
b603a10812
Fixes #155
il y a 14 ans
Michael Jackson
9240db10be
Add note about usage in CommonJS
il y a 14 ans
Michael Jackson
057bc20880
Add spec for multiline comment
Fixes #47
il y a 14 ans
Michael Jackson
cf9031c76f
Preserve empty newlines
il y a 14 ans
Michael Jackson
0567f8f260
Add spec for values with backslashes
il y a 14 ans
Michael Jackson
1846281683
Fix inverted section rendering for missing keys
il y a 14 ans
Phui Hock
bfcc05a93f
Allow context to be used as template. Maintain chainability.
il y a 14 ans