Michael Jackson
65eb4220ca
Fix indentation
14 anni fa
Michael Jackson
3bbe1ab9d8
Fix rendering partials w/o data
Thanks drobbins (see https://github.com/janl/mustache.js/pull/113 )
14 anni fa
Michael Jackson
93dd0ddb91
Consistent use of typeof
14 anni fa
Michael Jackson
a20cf0032b
Consistent spacing
14 anni fa
Michael Jackson
f44254cc7e
Use native String#trim when available
Uses a method similar to jQuery.trim in jQuery 1.7.1.
14 anni fa
Michael Jackson
ff543bb74d
Use native Array.isArray when available
14 anni fa
Michael Jackson
ae5f8aded0
Ignore .rvmrc
14 anni fa
Michael Jackson
486cbd6870
Merge pull request #130 from tmcw/commonjs-wrap
Condition module.exports to make commonjs version work in browsers and no
14 anni fa
wittemann
53e49cfc76
Changed the qooxdoo pre template back to the way it was.
14 anni fa
wittemann
0cc140c52c
Modified the get method to support more than one element in the template stored in the dom.
14 anni fa
Jan Lehnardt
d8f2f553c4
bump ruby version
14 anni fa
Jan Lehnardt
470b02798c
fix apt-get install name for spidermonkey, again, again, again
14 anni fa
Jan Lehnardt
bdad747916
fix apt-get install name for spidermonkey, again, again
14 anni fa
Jan Lehnardt
f39b87fd78
fix apt-get install name for spidermonkey, again
14 anni fa
Jan Lehnardt
390434107f
fix apt-get install name for spidermonkey
14 anni fa
Jan Lehnardt
a552540526
add travis ci config
14 anni fa
Jan Lehnardt
d0cd6d0e6e
Merge pull request #137 from BigBlueHat/narrow_rspec_dependency
Narrow rspec dependency
14 anni fa
Jan Lehnardt
2ead28a60e
Merge pull request #134 from brandonpayton/master
Dot notation support renders 0 and boolean false values as "true"
14 anni fa
Jan Lehnardt
e2e29b281a
Merge pull request #138 from timcharper/master
README: Dereferencing section clarification + describe dot notation
14 anni fa
Tim Harper
68ad470561
README: Adds a note about dot notation
14 anni fa
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.
14 anni fa
Benjamin Young
577f7cc437
noting rspec is only needed for testing now
14 anni fa
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 .
14 anni fa
Brandon Payton
55c4346656
Add missing comma to dot_notation test's object literal.
14 anni fa
Brandon Payton
1d59e5c746
Merge https://github.com/janl/mustache.js
Conflicts:
examples/dot_notation.js
mustache.js
14 anni fa
brandonpayton
18a0e89640
Fix for dot notation returning a value of boolean true for kinda_truthy values '0' and 'false'.
14 anni fa
Jan Lehnardt
17f5dc3686
Merge pull request #136 from brandonpayton/whitespace-fix
Remove tab whitespace that was added during dot notation merge.
14 anni fa
Brandon Payton
26e8ebe138
Replace tabs with 2 spaces.
14 anni fa
wittemann
be94fda74f
Changed the qooxdoo pre template back to the way it was.
14 anni fa
wittemann
59b17c77f4
Modified the get method to support more than one element in the template stored in the dom.
14 anni fa
Jan Lehnardt
8285a3e42e
Merge pull request #132 from johnnypez/master
Support for Dot Notation, with tests.
14 anni fa
John Butler
a6f913a92a
it would be handy if I committed the tests!
14 anni fa
John Butler
ba16c76887
dot notation support added
- all tests passing
- updated test to include check that it doesn't break IMPLICIT_OPERATOR
- added fix to ensure that you can access global context from within 'dot notatated' blocks
14 anni fa
John Butler
3ffc6b2828
adding simple test for dot notation support
14 anni fa
John Butler
a884509c6a
Adding support for dot notation
14 anni fa
Tom MacWright
deedba967e
Condition module.exports to make commonjs version work in browsers and not throw an error.
14 anni fa
Jan Lehnardt
d87d274d4c
Merge pull request #129 from wittemann/master
Add qooxdoo wrapper. Use `make qooxdoo`.
14 anni fa
wittemann
acb4695c39
Added qooxdoo build template.
14 anni fa
Jan Lehnardt
cc7bc5fb39
Merge pull request #127 from tmcw/whitespace-ocd
Trailing whitespace OCD fix.
14 anni fa
Tom MacWright
817e884f60
Trailing whitespace OCD fix.
14 anni fa
Jan Lehnardt
db8cfec098
bump version to 0.4.0-dev
14 anni fa
Jan Lehnardt
671f8eaa52
add SpiderMonkey test runner
14 anni fa
Jan Lehnardt
8d260790eb
Merge remote-tracking branch 'twitter/master' into merge-twitter
* twitter/master: (34 commits)
Check for existence of engines before running tests, better logging
version -twitter-b
fix a bug in regex generators, make cache global
cached regexes
remove the backslash escaping
updated changelog
re-link jsc and add a bit more doc
remove i18n stuff
fix typo in readme
nice clean up to render_section, as suggested by @esbie
preserve translation-hint correctly
made gettext return the right thing for translation-hint mode
send translation mode in single parameter to _
updated i18n test
don't render during i18n step, just do replacements
remove commented out lines from run_js
clean up some logic
added test descriptions and instructions to the readme
more readme stuff
moved new tests into new examples/* files
...
14 anni fa
Jan Lehnardt
78ad6fa42a
Merge pull request #119 from soitgoes/master
Back Slashes shouldn't be escaped in HTML
14 anni fa
Martin Murphy
c4687d856c
slash (\) should not be escaped in html
14 anni fa
Jan Lehnardt
4c4d3db560
Merge pull request #115 from baalexander/patch-1
Adds note about needing rspec to run rake commands.
14 anni fa
Brandon Alexander
2fa0234f3b
Adds note about needing rspec to run rake commands.
I was getting the following error when running `rake commonjs`:
```
rake aborted!
no such file to load -- rspec/core/rake_task
(See full trace by running task with --trace)
```
This was with a default OS X Lion install. The issue was simply that
rspec was not installed, however, it may not be obvious at first.
14 anni fa
Ben Cherry
4fd1b8bd3b
Check for existence of engines before running tests, better logging
14 anni fa
Ben Cherry
c29e6f1fa2
version -twitter-b
14 anni fa
Ben Cherry
a0979ab796
Merge remote-tracking branch 'janl/master'
Conflicts:
mustache.js
14 anni fa