Eric BRECHEMIER
e94a477e76
Tag as 0.4.1-dev
il y a 14 ans
Eric BRECHEMIER
20cc2c6efc
Add tag 0.4.1-dev-familywall
il y a 14 ans
Eric BRECHEMIER
e20cee5f3e
Use ''' instead of ''', which showed in template output
Issue observed during the development of familywall.com, in some conditions.
For some reason, using ''' instead fixed the issue.
il y a 14 ans
Eric BRECHEMIER
f86e5ca559
Update version number to match previous tag
Warning: the tagged version still advertises version "0.4.0".
il y a 14 ans
Eric BRECHEMIER
01d01562e6
Fix greedy parsing of section name
Issue noticed for the transformation of a template for familywall.com,
using MustacheJS 0.3.0. In the anonymous function(match,type,name,content)
in render_section, the name of the section was incorrectly recognized as:
place}} <dd class="field"> <strong>{{#i18n
within a match where the same string is repeated after a / at the end:
{{#place}} <dd class="field"> <strong>{{#i18n}}event.where_event_form{{/i18n}}</strong> <span class="hide" data-field="placeId">{{placeId}}</span> <span>{{name}}</span> </dd> {{/place}} <dd class="field"> <strong>{{#i18n}}
This is an unlikely bug, due to the use of the greedy operator + instead of
its non-greedy counterpart +?.
il y a 14 ans
Eric BRECHEMIER
855ea69ec1
This is a fork of the tag 0.4.0, for maintenance
il y a 14 ans
Jan Lehnardt
3f15f72fbf
0.4.0
il y a 14 ans
Michael Jackson
def81a0700
Add spec for & tags ( fixes #83 )
il y a 14 ans
Don Brown
634b29d275
83: Add support for & operator for unescaping
Conflicts:
mustache.js
il y a 15 ans
Michael Jackson
bf95689f42
Support for partial paths ( fixes #91 )
Uses the work done by @nateware in pull request 92. Thanks!
il y a 14 ans
Michael Jackson
db5f5ece0b
Faster escapeHTML
See http://jsperf.com/string-replace-function
il y a 14 ans
Jan Lehnardt
99b5aa1a3d
-y oh -y
il y a 14 ans
Jan Lehnardt
ceafe886cb
Travis builders are now on Ubuntu 11.04 "Natty". The xulrunner
package name is now "xulrunner-2.0". We need this to run our tests
in SpiderMonkey.
il y a 14 ans
Michael Jackson
9a8ff7638a
Refactor escapeHTML
il y a 14 ans
Michael Jackson
2f4ccb950f
Update README
il y a 14 ans
Michael Jackson
846d1d3498
Update testing instructions
il y a 14 ans
Michael Jackson
3ac02f342a
Use .mustache file extension
il y a 14 ans
Michael Jackson
f127f48bf4
Move all tests to spec directory
il y a 14 ans
Michael Jackson
0e49002087
Add node to test suite
il y a 14 ans
Michael Jackson
f6273dd624
Move templates to wrappers directory
il y a 14 ans
Michael Jackson
ff40abbbbc
Format comment
il y a 14 ans
Michael Jackson
9867b8d917
Clean up runner.js
il y a 14 ans
Michael Jackson
89863d714b
Use rake/clean
il y a 14 ans
Michael Jackson
65eb4220ca
Fix indentation
il y a 14 ans
Michael Jackson
3bbe1ab9d8
Fix rendering partials w/o data
Thanks drobbins (see https://github.com/janl/mustache.js/pull/113 )
il y a 14 ans
Michael Jackson
93dd0ddb91
Consistent use of typeof
il y a 14 ans
Michael Jackson
a20cf0032b
Consistent spacing
il y a 14 ans
Michael Jackson
f44254cc7e
Use native String#trim when available
Uses a method similar to jQuery.trim in jQuery 1.7.1.
il y a 14 ans
Michael Jackson
ff543bb74d
Use native Array.isArray when available
il y a 14 ans
Michael Jackson
ae5f8aded0
Ignore .rvmrc
il y a 14 ans
Michael Jackson
486cbd6870
Merge pull request #130 from tmcw/commonjs-wrap
Condition module.exports to make commonjs version work in browsers and no
il y a 14 ans
Jan Lehnardt
d8f2f553c4
bump ruby version
il y a 14 ans
Jan Lehnardt
470b02798c
fix apt-get install name for spidermonkey, again, again, again
il y a 14 ans
Jan Lehnardt
bdad747916
fix apt-get install name for spidermonkey, again, again
il y a 14 ans
Jan Lehnardt
f39b87fd78
fix apt-get install name for spidermonkey, again
il y a 14 ans
Jan Lehnardt
390434107f
fix apt-get install name for spidermonkey
il y a 14 ans
Jan Lehnardt
a552540526
add travis ci config
il y a 14 ans
Jan Lehnardt
d0cd6d0e6e
Merge pull request #137 from BigBlueHat/narrow_rspec_dependency
Narrow rspec dependency
il y a 14 ans
Jan Lehnardt
2ead28a60e
Merge pull request #134 from brandonpayton/master
Dot notation support renders 0 and boolean false values as "true"
il y a 14 ans
Jan Lehnardt
e2e29b281a
Merge pull request #138 from timcharper/master
README: Dereferencing section clarification + describe dot notation
il y a 14 ans
Tim Harper
68ad470561
README: Adds a note about dot notation
il y a 14 ans
Tim Harper
3ca6d1d435
README: Clarify Deferencing Section docs
It was confusing to present the concept of dereferencing a nested object and
enumerating over a list in an same example intended to show dereferencing a
nested object. I believe this example illustrates the concept more clearly.
il y a 14 ans
Benjamin Young
577f7cc437
noting rspec is only needed for testing now
il y a 14 ans
Benjamin Young
98e2f0f35c
moved rspec requirement into spec task to narrow dependencies
You can now run `rake jquery` and friends without installing rspec.
Closes #135 .
il y a 14 ans
Brandon Payton
55c4346656
Add missing comma to dot_notation test's object literal.
il y a 14 ans
Brandon Payton
1d59e5c746
Merge https://github.com/janl/mustache.js
Conflicts:
examples/dot_notation.js
mustache.js
il y a 14 ans
brandonpayton
18a0e89640
Fix for dot notation returning a value of boolean true for kinda_truthy values '0' and 'false'.
il y a 14 ans
Jan Lehnardt
17f5dc3686
Merge pull request #136 from brandonpayton/whitespace-fix
Remove tab whitespace that was added during dot notation merge.
il y a 14 ans
Brandon Payton
26e8ebe138
Replace tabs with 2 spaces.
il y a 14 ans
Jan Lehnardt
8285a3e42e
Merge pull request #132 from johnnypez/master
Support for Dot Notation, with tests.
il y a 14 ans