unknown
f39ec6d08a
replace interpreted version of higher order section with a compiled version
pirms 16 gadiem
unknown
98cdab2af5
Partials compiler should be non-destructive
pirms 16 gadiem
unknown
4ed4db0101
Performance test for Compiler path
pirms 16 gadiem
unknown
afbb2089db
pass all tests in both interpreter and compiler mode
pirms 16 gadiem
unknown
591c81d533
Merge branch 'compiler' of github.com:thegrandpoobah/mustache.js into compiler
pirms 16 gadiem
unknown
081772c3f4
replicate interpreter tests into compiler tests.
pirms 16 gadiem
unknown
97736b7a49
Submit template compiler.
pirms 16 gadiem
thegrandpoobah
b09b5f2ec5
whitespace fixes
pirms 16 gadiem
thegrandpoobah
9eb8aa4c84
clean up noisy parserContext references
pirms 16 gadiem
unknown
82609d5c92
adjust tests to match new parser. adjust (most) tests for whitespace issues
pirms 16 gadiem
unknown
d75f981cf9
proper undefined check
pirms 16 gadiem
unknown
faa9fc7712
add pragma support
pirms 16 gadiem
unknown
17d804b189
fix variable reference error
pirms 16 gadiem
unknown
cb8d2f58ff
first checkin of token based template parser
pirms 16 gadiem
thegrandpoobah
12ce899b83
{{%IMPLICIT-ITERATOR}} should be a no-op
pirms 16 gadiem
thegrandpoobah
ecf7bb606c
this/that clean-up
pirms 16 gadiem
thegrandpoobah
8053051cb6
Turn interpreter into a recursive descent parser.
pirms 16 gadiem
thegrandpoobah
180c02e641
ignore equal signs if not forming a set delimiter
pirms 16 gadiem
thegrandpoobah
0831ea55b3
issue 46: change of set delimiter should also affect sections and inverted sections.
pirms 16 gadiem
thegrandpoobah
937c4f8a5d
partial fix for issue 48.
pirms 16 gadiem
thegrandpoobah
6cc86e23a1
add QUnit tests based on the examples folder.
pirms 16 gadiem
thegrandpoobah
a83dd64573
According to the documentation, & is also an unescaping character.
pirms 16 gadiem
thegrandpoobah
d6cc13834e
fix test case
pirms 16 gadiem
thegrandpoobah
611bae9950
Test case for Issue 46
pirms 16 gadiem
thegrandpoobah
27ea4e5468
fix a bug in the function includes when changing delimiters to characters that need to be escaped in regexes.
pirms 16 gadiem
thegrandpoobah
336d21a1a4
More spelling mistake fixes
pirms 16 gadiem
thegrandpoobah
b45570ebf7
current was misspelled
pirms 16 gadiem
thegrandpoobah
1d6337de5c
Merge with trunk
pirms 16 gadiem
thegrandpoobah
5f07924fd9
Add test case for a bug when using delimiters, partials, and sections together.
pirms 16 gadiem
Jan Lehnardt
e4ab54d524
better whitspacing, closes #41
pirms 16 gadiem
Jan Lehnardt
1ddda5c5f8
Allow empty-string partials.
Closes #40 .
pirms 16 gadiem
Jan Lehnardt
497be8d81f
update changes
pirms 16 gadiem
Jan Lehnardt
5c08642838
Make IMPLICIT ITERATORS a first class feature.
Closes #39 .
pirms 16 gadiem
Jan Lehnardt
87c7ff84bd
whitespacin’
pirms 16 gadiem
Jan Lehnardt
88f2e7e200
open FaQ, answer dot notation question
pirms 16 gadiem
thegrandpoobah
7c8b513db9
Add parameterized function support.
pirms 16 gadiem
thegrandpoobah
1f0c6b6241
merge with janl
pirms 16 gadiem
Jan Lehnardt
0b10ab0db8
Regex: \w includes "_". Thanks Leeoniya.
pirms 16 gadiem
Jan Lehnardt
e33d4f8bf8
whitespacin'
pirms 16 gadiem
Jan Lehnardt
e3911963f3
JSLint hurt my feelings.
pirms 16 gadiem
Jan Lehnardt
53ec2d559b
less cat
pirms 16 gadiem
Jan Lehnardt
7be0692b2f
pedantry
pirms 16 gadiem
Jan Lehnardt
2bab7be637
Less code per line, fix Rhino compat.
pirms 16 gadiem
Jan Lehnardt
86ed681de7
more pedantry
pirms 16 gadiem
Jan Lehnardt
c6fc49c783
Add package.json to CommonJS package (`rake commonjs`).
Use fancy regex to auto-fill the version number.
Closes #37 .
pirms 16 gadiem
Jan Lehnardt
3abfafa553
Fix typo in comment. #pedantry
pirms 16 gadiem
Jan Lehnardt
4466a47561
whoopsiedupecode
pirms 16 gadiem
Jan Lehnardt
1f0ca2fe50
Add test case for recursive partial. If it weren't for complex.html
it could be neat and there'd be s/kids/children/ — Oh well.
pirms 16 gadiem
Jan Lehnardt
1e7fce2e7a
Remove expensive merge() method. Context lookups for nested sections
and partials are now performed on the current context and the top-
level view object. This avoids a ton of copying and duplication of
view objects and contexts.
pirms 16 gadiem
Sahab Yazdani
3dd4c87e09
How embarrassing.
pirms 16 gadiem