Justin Hileman
|
38a5e57514
Added context and section unit tests for dot notation pragma.
|
15 vuotta sitten |
Justin Hileman
|
96c42105ec
Test consecutive renders with pragma unescaped
|
15 vuotta sitten |
Justin Hileman
|
38d778b825
fixed typo in test message.
|
15 vuotta sitten |
Justin Hileman
|
5e195625d0
Merge branch 'dev' into feature/test-coverage
|
15 vuotta sitten |
Justin Hileman
|
54f57de1ea
Merge branch 'hotfix/0.2.3' into dev
|
15 vuotta sitten |
Justin Hileman
|
c3541fa224
Merge branch 'hotfix/0.2.3'
|
15 vuotta sitten |
Justin Hileman
|
e3d10e9350
Skipping delimiters test until bug is fixed.
|
15 vuotta sitten |
Justin Hileman
|
5cb4c7e2f1
Skipping delimiters test until bug is fixed.
|
15 vuotta sitten |
Justin Hileman
|
97e6911935
Stopped passing context by reference to _findVariableInContext. Updated documentation.
|
15 vuotta sitten |
Justin Hileman
|
4f5d3fffaa
Merge branch 'release/0.2.2'
|
15 vuotta sitten |
Justin Hileman
|
fd3dc292a3
Merge branch 'feature/fix-partials' into dev
|
15 vuotta sitten |
Justin Hileman
|
f0ed2ad499
Added test for template retention in subsequent render invocations.
|
15 vuotta sitten |
Justin Hileman
|
1330cf1d48
Updated implicit iterator test to reflect changes in mustache function names.
|
15 vuotta sitten |
Justin Hileman
|
7d4c68f8ad
Merge branch 'dev' into feature/implicit-iterator
|
15 vuotta sitten |
Justin Hileman
|
2fc242a6ae
Added test case for resetting pragmas when reusing a single Mustache instance to render multiple templates.
|
15 vuotta sitten |
Justin Hileman
|
11c2b04d8e
fixed typo in comment
|
15 vuotta sitten |
Justin Hileman
|
eb1a896569
Fixed root context swap in clone (was checking context[0], should have checked last element in context stack).
|
15 vuotta sitten |
Justin Hileman
|
619a48674b
fixed name of clone test, added more assertions.
|
15 vuotta sitten |
Justin Hileman
|
df1b3c8e7d
Pragmas in parent templates no longer apply to partials (as of a few commits ago). Added test case, removed known issue from readme.
|
15 vuotta sitten |
Justin Hileman
|
5ade8a5ee3
Added unit test for Mustache clone method.
|
15 vuotta sitten |
Justin Hileman
|
e2374d645b
[punting] fixing whitespace in recursive partials template since mustache kinda sucks at whitespace :)
|
15 vuotta sitten |
Justin Hileman
|
0893a7d39d
using array keys instead of iteration over context for creating subcontext arrays. this fixes incorrect context stacks in recursive partials.
|
15 vuotta sitten |
Justin Hileman
|
95abf1d52b
Merge branch 'dev' into feature/fix-partials
|
15 vuotta sitten |
Justin Hileman
|
0fd759d8f7
Merge branch 'feature/test-coverage' into dev
|
15 vuotta sitten |
Justin Hileman
|
c79501b4ad
Pragmas don't need to be re-rendered for all sub-templates (i.e. sections). Moving call to _renderPragmas into main render() method.
|
15 vuotta sitten |
Justin Hileman
|
605dea1f79
Fix for infinite recursion in recursive partials example.
|
15 vuotta sitten |
Justin Hileman
|
dff5300932
Added [currently failing] test case for recursive partials.
|
15 vuotta sitten |
Justin Hileman
|
7f5f7a73fc
Stop passing context arrays around like a madman.
|
15 vuotta sitten |
Justin Hileman
|
eeb5b245d1
Possible fix for #1 - ability to use partials with an arbitrary (non-Mustache) view class.
|
15 vuotta sitten |
Justin Hileman
|
9f31a821e1
Merge branch 'feature/test-coverage' into dev
|
15 vuotta sitten |