nathan@stravinsky.local
110b9e9235
fixed regression where false-y values *do* need to yield null/empty value iterators
16年前
nathan@stravinsky.local
90f61c8204
fixed distinction between false-y values (which *should* fill tags) and actually undefined values
16年前
nathan@stravinsky.local
54c62e8a58
switched to @janl's way of handling partials to pass more tests
16年前
nathan@stravinsky.local
eaf6373e30
changed wording of exception so that test will pass (le sigh?)
16年前
nathan@stravinsky.local
f878700164
ignoring whitespace in tests entirely for now, to see what more interesting tests fail
16年前
nathan@stravinsky.local
e1f7e3c606
reverted all tests back from ridiculous attempt to adjust. need to just ignore whitespace in tests for now.
16年前
nathan@stravinsky.local
43c22164fb
slogged through tests fixing for strict whitespace (maybe we could swallow \n after section token?)
16年前
nathan@stravinsky.local
2d9a082b61
fixed enumerable example that uses implicit-iterator to declare pragma for it
16年前
Jan Lehnardt
f1d8fd66cd
original rewrite draft by @natevw
16年前
Jan Lehnardt
e33d4f8bf8
whitespacin'
16年前
Jan Lehnardt
e3911963f3
JSLint hurt my feelings.
16年前
Jan Lehnardt
53ec2d559b
less cat
16年前
Jan Lehnardt
7be0692b2f
pedantry
16年前
Jan Lehnardt
2bab7be637
Less code per line, fix Rhino compat.
16年前
Jan Lehnardt
86ed681de7
more pedantry
16年前
Jan Lehnardt
c6fc49c783
Add package.json to CommonJS package (`rake commonjs`).
Use fancy regex to auto-fill the version number.
Closes #37 .
16年前
Jan Lehnardt
3abfafa553
Fix typo in comment. #pedantry
16年前
Jan Lehnardt
4466a47561
whoopsiedupecode
16年前
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.
16年前
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.
16年前
endor
dd19083d5f
tests for partial recursion
16年前
Jan Lehnardt
885501df7d
Add test case to close #11 . No bugfix necessary.
16年前
Jan Lehnardt
4e01d9faf6
update THANKS, CHANGES
16年前
Aaron Gibralter
53e9b2692b
Partials within list sections did not seem to be functioning
correctly. Since a list section pushes a sub-object of the
"view" into the "current" context, a partial should recognize
this altered context. The one-line change in mustache.js does
exactly this.
Closes #35 .
16年前
Aaron Gibralter
e25eeaebb8
Allow arbitrary whitespace within tags. Closes #34 .
16年前
Jan Lehnardt
595f3fbf35
Revert "Merge remote branch 'rbriank/master'"
This reverts commit c2f886602af6ff2d6790b33f87445fc2a5677e0e, reversing
changes made to 88d3d9cf32 .
16年前
Jan Lehnardt
73b463a30e
Revert "fix expected output"
This reverts commit f1f55138a4 .
16年前
Jan Lehnardt
f1f55138a4
fix expected output
16年前
Jan Lehnardt
c2f886602a
Merge remote branch 'rbriank/master'
* rbriank/master:
simple iterator adding \n bug
16年前
Jan Lehnardt
88d3d9cf32
fix rake commonjs part 2
16年前
Jan Lehnardt
90f93aa7e3
fix rake commonjs
16年前
Jan Lehnardt
a7464db373
remove lib, use rake commonjs for a commonjs package
16年前
Jan Lehnardt
f226c0b437
Merge remote branch 'jhs/master'
* jhs/master:
Output the "Done" message as before
Actually ignore comment tags; and correct the expected output in the test case
Refactor template-style builds into a common function
Execute commands properly. You can see what's happening, and errors halt the build
Build CommonJS just like any other target, using "pre" and "post" wrappers
16年前
Jason Smith
c5a114bf88
Reset the buffer only for new renderings, not e.g. partials
16年前
Jan Lehnardt
000f4823bb
update CHANGES, THANKS
16年前
Jason Smith
bc447d8722
Actually ignore comment tags; and correct the expected output in the test case
16年前
Jason Smith
0117a42532
Output the "Done" message as before
16年前
Jason Smith
d82a1174d7
Actually ignore comment tags; and correct the expected output in the test case
16年前
Jason Smith
01272005fe
Refactor template-style builds into a common function
16年前
Jason Smith
f54312e879
Execute commands properly. You can see what's happening, and errors halt the build
16年前
Jason Smith
43587531c8
Build CommonJS just like any other target, using "pre" and "post" wrappers
16年前
Jan Lehnardt
6e4bd7f86b
Clear buffer before rendering. Closes #26 .
16年前
Jan Lehnardt
328724ad43
whitespace
16年前
Alexander Lang
c12ba296ab
added testcase for issue #26
16年前
Jan Lehnardt
4eebb4ba4f
Merge branch 'master' of github.com:janl/mustache.js
* 'master' of github.com:janl/mustache.js:
allow using sections as context. Patch by dpree.
Conflicts:
CHANGES.md
README.md
mustache.js
16年前
Jan Lehnardt
a6de1a3bdd
add inverted sections. Closes #17 and #24 . Patch by defunkt.
16年前
Jan Lehnardt
a1d5fcddfa
less line noise
16年前
Jan Lehnardt
9f0c741c50
whitespace
16年前
Jan Lehnardt
78f2bd4e39
update
16年前
Jan Lehnardt
8df3bef014
don't doublt encode entities. Closes #19 . Patch by Leeoniya
16年前