Tom MacWright
817e884f60
Trailing whitespace OCD fix.
14 роки тому
Jan Lehnardt
db8cfec098
bump version to 0.4.0-dev
14 роки тому
Martin Murphy
c4687d856c
slash (\) should not be escaped in html
14 роки тому
Ben Cherry
c29e6f1fa2
version -twitter-b
14 роки тому
Tomas Eriksson
783f61450d
Fixed if statement. !==
15 роки тому
Ben Cherry
e3fe0ae352
fix a bug in regex generators, make cache global
15 роки тому
Ben Cherry
8e4641f8bf
cached regexes
15 роки тому
Sahab Yazdani
45955f5dc1
Fixes issue 105
15 роки тому
Ben Cherry
9110fe0061
remove the backslash escaping
15 роки тому
Ben Cherry
3ebd5ef1b3
remove i18n stuff
15 роки тому
Ben Cherry
6438149345
nice clean up to render_section, as suggested by @esbie
15 роки тому
Ben Cherry
4930a1dfe7
preserve translation-hint correctly
15 роки тому
Ben Cherry
077b7b5eaf
send translation mode in single parameter to _
15 роки тому
Ben Cherry
25d0c02b71
don't render during i18n step, just do replacements
15 роки тому
Ben Cherry
90bc5a9a84
clean up some logic
15 роки тому
Ben Cherry
e54ef155e6
more readme stuff
15 роки тому
Ben Cherry
158f427837
reenabled '
15 роки тому
Ben Cherry
6f3bdedd22
back to render instead of render_section
15 роки тому
Ben Cherry
35245c57d4
small fixes
15 роки тому
Ben Cherry
f3a9e4f395
don't escape ' temporarily
15 роки тому
Ben Cherry
58dfd4f219
finally fixed movember
15 роки тому
Ben Cherry
d5e54b409a
works with empty sections
15 роки тому
Ben Cherry
29cbcf719d
twitter version
15 роки тому
Ben Cherry
2fc2b8c0d0
don't make the thing a multi-line
15 роки тому
Ben Cherry
a7f71e1635
i18n twitter stuff
15 роки тому
Ben Cherry
99afe5fea7
don't double render
15 роки тому
Jan Lehnardt
e72b635ca1
one quote will do
15 роки тому
Jan Lehnardt
60caed99f8
Escape single quotes to be HTML5 compliant.
HTML tag attributes in HTML5 can use single quotes (') as delimiters.
Patch by Tom Lynn.
15 роки тому
Jan Lehnardt
d8f25f82bd
escape " as ". Closes #58
15 роки тому
Jan Lehnardt
286b2dc78a
next is 0.3.1
16 роки тому
Jan Lehnardt
8e3444ab9d
roll 0.3.0
16 роки тому
Jan Lehnardt
e4ab54d524
better whitspacing, closes #41
16 роки тому
Jan Lehnardt
1ddda5c5f8
Allow empty-string partials.
Closes #40 .
16 роки тому
Jan Lehnardt
5c08642838
Make IMPLICIT ITERATORS a first class feature.
Closes #39 .
16 роки тому
Jan Lehnardt
0b10ab0db8
Regex: \w includes "_". Thanks Leeoniya.
16 роки тому
Jan Lehnardt
e33d4f8bf8
whitespacin'
16 роки тому
Jan Lehnardt
e3911963f3
JSLint hurt my feelings.
16 роки тому
Jan Lehnardt
2bab7be637
Less code per line, fix Rhino compat.
16 роки тому
Jan Lehnardt
3abfafa553
Fix typo in comment. #pedantry
16 роки тому
Jan Lehnardt
4466a47561
whoopsiedupecode
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 роки тому
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 роки тому
Jason Smith
c5a114bf88
Reset the buffer only for new renderings, not e.g. partials
16 роки тому
Jason Smith
bc447d8722
Actually ignore comment tags; and correct the expected output in the test case
16 роки тому
Jason Smith
d82a1174d7
Actually ignore comment tags; and correct the expected output in the test case
16 роки тому
Jan Lehnardt
6e4bd7f86b
Clear buffer before rendering. Closes #26 .
16 роки тому
Jan Lehnardt
a6de1a3bdd
add inverted sections. Closes #17 and #24 . Patch by defunkt.
16 роки тому
Jan Lehnardt
a1d5fcddfa
less line noise
16 роки тому
Jan Lehnardt
8df3bef014
don't doublt encode entities. Closes #19 . Patch by Leeoniya
16 роки тому