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
80b2994f55
Added lint ignores.
преди 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 години
subzey@gmail.com
e54aca8e3b
BOM as whitespace test case
преди 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 години
Michael Jackson
cf9031c76f
Preserve empty newlines
преди 14 години
Michael Jackson
0567f8f260
Add spec for values with backslashes
преди 14 години
Michael Jackson
1846281683
Fix inverted section rendering for missing keys
преди 14 години
Phui Hock
bfcc05a93f
Allow context to be used as template. Maintain chainability.
преди 14 години