Michael Jackson
8a7123706f
Group all exports
13 лет назад
Michael Jackson
3aa093391b
Use empty object as default view
Fixes #238
13 лет назад
Michael Jackson
ecc2e2a28f
Merge pull request #301 from danielfagerstrom/topic/spec
Mustache specs
13 лет назад
Daniel Fagerstrom
3ee2574e21
Used fs.existsSync that doesn't exists in nodejs 0.6 that is used by travis for testing.
13 лет назад
Jan Lehnardt
c2ee9c2736
Merge pull request #302 from eduardo-matos/fix-documentation
Fix documentation on how to build YUI
13 лет назад
Eduardo de Matos
26f7759ec8
fix doc how to build yui
13 лет назад
Daniel Fagerstrom
8cd95a085b
Update README.md
Instruction for including sub module with Mustache specs.
13 лет назад
Daniel Fagerstrom
c8005af7c3
Test that use all tests from Mustache specifications. The ones that fails in current mustache.js are skiped to not break the build.
13 лет назад
Daniel Fagerstrom
5e58358574
Include submodule for Mustache specifications.
13 лет назад
Michael Jackson
2ab776c3a5
Locally cache some references
13 лет назад
Michael Jackson
8b2b3cdbc5
Merge pull request #287 from henrikkok/master
jQuery wrapper: use jQuery.trim() instead of String.prototype.trim()
13 лет назад
Henrik Kok
da531727fb
Update wrappers/jquery/mustache.js.post
Switched from String.prototype.trim() to jQuery.trim() for IE8 and below support
13 лет назад
Michael Jackson
7b4c1bf7ce
Update testing instructions
13 лет назад
Michael Jackson
af935e3441
Simplify test
13 лет назад
Michael Jackson
a5d0199541
Style tweaks
13 лет назад
Michael Jackson
f6496c8c38
Style tweaks, added comments
13 лет назад
Michael Jackson
3cdb300ccb
Use delete instead of splice
13 лет назад
Michael Jackson
320ae73475
Style tweaks
13 лет назад
Michael Jackson
381aca9feb
Update CHANGES
13 лет назад
Michael Jackson
f8eb6e8f38
Remove Context#clearCache
13 лет назад
Michael Jackson
49de778abb
Inline rendering functions
13 лет назад
Michael Jackson
d5bf677431
Remove unnecessary line
13 лет назад
Michael Jackson
a8b6a96a83
Style tweaks
13 лет назад
Michael Jackson
0d8b00fa67
Allow compiling of tokens without template
This commit allows pre-compiled templates to be executed without
keeping the original template around. It is still required when using
higher-order functions.
Fixes #262
13 лет назад
Michael Jackson
66020162c8
Update CHANGES
13 лет назад
Michael Jackson
740fd72d26
Version 0.7.2
13 лет назад
Michael Jackson
9075d25b86
Update CHANGES
13 лет назад
Michael Jackson
4fd638e9e6
Merge remote-tracking branch 'upstream/master'
13 лет назад
Michael Jackson
eb6ceb8b14
Fixed rendering error when using nested higher-order sections
Fixes #274
13 лет назад
Michael Jackson
b9701d58f5
Add failing test for nested higher-order sections
13 лет назад
Michael Jackson
eee8d695fc
Better error reporting
13 лет назад
Michael Jackson
4e30d03def
Merge pull request #283 from busticated/amdwrapper
clean up and standardize UMD wrapper
13 лет назад
busticated
d90d37f25f
handle case where exports is null
13 лет назад
busticated
fa214bd660
clean up and standardize UMD wrapper
13 лет назад
Michael Jackson
51eec96abc
Style tweaks
13 лет назад
Jan Lehnardt
4474099089
Merge pull request #280 from buymeasoda/docs-for-compile
Add compiled templates overview and examples to readme
13 лет назад
Ian Hill
7a2cb9976d
Add compiled templates overview and examples to readme
13 лет назад
Michael Jackson
3fea961f06
Use mocha for testing
13 лет назад
Michael Jackson
c09c7f54a3
Version 0.7.1
13 лет назад
Michael Jackson
829698388c
Merge remote-tracking branch 'upstream/master'
13 лет назад
Michael Jackson
e0edb356ae
Fail gracefully on empty template
Fixes #267
13 лет назад
Michael Jackson
79b08c3091
Merge pull request #264 from mattsacks/check-falsy
Don't evaluate lambdas that return falsy values as an empty string.
13 лет назад
Michael Jackson
1cd18cffbe
Merge pull request #273 from woledzki/master
Performance fix for iphones and ipads
13 лет назад
Wojtek
9de23a204f
performance fix for ipads & iphones
13 лет назад
Matt Sacks
d59f02f622
Don't evaluate lambdas that return falsy values as an empty string.
Issue: If I create a Mustache lambda to return numbers and I expect 0 to be of
those numbers, I'll instead only receive an empty string for 0 because it
evaluates to falsy.
Fix: Check the result of the lambda to be undefined or null. Only then should
it return the empty string.
13 лет назад
Michael Jackson
6bbc85fe26
Merge pull request #256 from julien-c/patch-1
Sections - undefined keys
13 лет назад
Michael Jackson
9fb00529d4
Updated with most recent changes
13 лет назад
Michael Jackson
26dfacd8be
Add Mustache.compileTokens
Fixes #258
13 лет назад
Michael Jackson
658f9e051f
Cache partials by template, not by name
Fixes #257
13 лет назад
Michael Jackson
85014a4f6c
Add spec for partial caching issue
13 лет назад