Michael Jackson
95d6ca9ada
Move views before templates in examples
il y a 13 ans
Michael Jackson
a8a0392cd6
Added 3-level deep nesting test
Fixes #42
il y a 13 ans
Michael Jackson
2de3ba6537
Fix JSHint warnings
il y a 13 ans
Michael Jackson
dbf609fd37
Merge remote-tracking branch 'upstream/master'
il y a 13 ans
Michael Jackson
9e6943c867
Scanner returns empty string if it can't match
il y a 13 ans
Jan Lehnardt
37b48496b6
Merge pull request #237 from fisch42/master
add .js to main property in package.json
il y a 13 ans
fisch42
fe3de766cd
added .js to main property in package.json
il y a 13 ans
Michael Jackson
008d6c7dcf
Move call to parse into Renderer#compile
il y a 14 ans
Michael Jackson
e304555333
Fix null section data
Fixes #222
il y a 14 ans
Michael Jackson
d6068505a3
Fix subtle IE7 bug
Fixes #223
il y a 14 ans
Michael Jackson
280a00f1c4
Update README
il y a 14 ans
Michael Jackson
e3ac2d245c
Fix spelling in comment
il y a 14 ans
Michael Jackson
33920ad674
Add AMD module support
il y a 14 ans
Michael Jackson
9079bd88f2
Add lint task using JSHint
il y a 14 ans
Jan Lehnardt
f7e843487b
Merge pull request #228 from TimZaripov/master
small error in README.md
il y a 14 ans
TimZaripov
74ac6ae144
fixed error in README.md -- in case of {"person": true} text from template
{{#person}}
Never shown!
{{/person}}
WILL be shown
il y a 14 ans
Jan Lehnardt
d7ddff2fc8
Merge pull request #227 from shenfeng/master
fix 2 unintended global var.
il y a 14 ans
feng
118cf2fc9e
fix global var leak
il y a 14 ans
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