Phillip Johnsen
2ef7356ec2
Equal error message test in .render() for server and browser.
This fixes a small blooper introduced in a3f4339 .
Error message thrown for invalid template type, should be equal on
the server and in the browser.
10 лет назад
David da Silva Contín
b32d425b83
Merge pull request #474 from jfmercer/minor-documentation-update
Clarifies and improves language in documentation
10 лет назад
John F. Mercer
cee416839b
Clarifies and improves language in documentation
* Although my previous PR (#469 ) on this topic was merged, it caused
[quite a discussion](https://github.com/janl/mustache.js/pull/469 ) about
the clarity of the language I wrote.
* This commit seeks to clarify and improve the sentence under discussion.
10 лет назад
David da Silva
20c089392e
:ship: bump to version 2.1.3
10 лет назад
David da Silva Contín
c4c9238443
Merge pull request #472 from mikesherov/patch-1
Update UMD Shim to be resilient to HTMLElement global pollution
10 лет назад
Mike Sherov
853f9c36df
Update UMD Shim to be resilient to HTMLElement global pollution
Please see https://github.com/umdjs/umd/pull/63 and https://github.com/umdjs/umd/issues/35 for more information, but
this change prevents an HTML element with an id of `exports` from causing the UMD shim to incorrectly detect the environment as node.
10 лет назад
David da Silva Contín
947d17c694
Merge pull request #471 from Andersos/patch-1
Move gif to githubusercontent #327
10 лет назад
Anders Olsen Sandvik
ef047db543
Move gif to githubusercontent
10 лет назад
Phillip Johnsen
5b43a4f613
Merge pull request #469 from jfmercer/string-literals
Documents use of string literals containing double quotes
10 лет назад
John F. Mercer
d0770de5be
Documents use of string literals containing double quotes
10 лет назад
Phillip Johnsen
06b7392200
Merge pull request #467 from janl/feature/meaningful-type-error
Throw error when providing .render() with invalid template type
11 лет назад
Phillip Johnsen
a3f4339c65
Throw error when providing .render() with invalid template type.
As we require the template to be a `string` we now throw an error when given
any other data type. This should provide the developers with a meaningful
error rather than a cryptic TypeError from the murky depths of our source code.
Fixes #464
11 лет назад
David da Silva Contin
55c1370a11
:ship: bump to version 2.1.2
11 лет назад
David da Silva Contín
b660592b42
Merge pull request #466 from yousefcisco/master
Added global Mustache definition
11 лет назад
Yousef Cisco
a572642ee4
Added global Mustache definition
11 лет назад
David da Silva Contin
6ae6179c84
generate issue/username md links using gh-sauce
11 лет назад
David da Silva Contin
0df1ac1164
add homepage property to package.json
11 лет назад
David da Silva Contin
58c293ad7c
Revert "issue/user links using gh-sauce for changelog"
This reverts commit 2f51083565 . Util is
not yet configurable, so issue links point to `mocha`.
11 лет назад
David da Silva Contin
2f51083565
issue/user links using gh-sauce for changelog
11 лет назад
David da Silva Contin
aef96817ae
:ship: bump to version 2.1.1
11 лет назад
David da Silva Contin
5b8bdb1ffc
added version links to change log
11 лет назад
David da Silva Contin
a145a2f325
state that we use semver on the change log
11 лет назад
David da Silva Contin
99e76ed766
bower.json no longer requires to be bumped
`version` is currently a moot prop since git tags are used instead. More
info at https://github.com/bower/bower.json-spec/commit/a325da3 .
11 лет назад
David da Silva Contín
68a962d2f3
Merge pull request #463 from kkirsche/patch-1
Remove moot `version` property from bower.json
11 лет назад
Kevin Kirsche
981fbeb84f
Remove moot `version` property from bower.json
Per bower/bower.json-spec@a325da3
11 лет назад
David da Silva Contín
3533bbd7db
Merge pull request #451 from janl/fix/view-prototype-issues
Fix view prototype value lookup issues
11 лет назад
Phillip Johnsen
8adacd1641
Bugfix for null/undefined when using dot notation
11 лет назад
David da Silva
931f49b5da
improve test with undefined/null lookup hit using dot notation
11 лет назад
Phillip Johnsen
fc6d73b353
Bugfix for using values from view's context prototype.
Fixes #445
11 лет назад
David da Silva Contin
b479bb8fb8
:ship: bump to version 2.1.0
11 лет назад
David da Silva Contín
15e7016895
Merge pull request #461 from janl/fix/context-cache
Bugfix for view context cache
11 лет назад
Phillip Johnsen
e801e842a7
Bugfix for view context cache picking methods from Object.prototype instead of the view.
Fixes #442
11 лет назад
Phillip Johnsen
e31a89a239
Merge pull request #460 from nikolas/patch-1
Only display result of master branch on travis badge
11 лет назад
nikolas
824639f923
Only display result of master branch on travis badge
11 лет назад
David da Silva
954a8fbf15
use chai for improved string diffing
11 лет назад
Phillip Johnsen
abd32f0f4b
Added IE 8 -> latest in browser tests matrix.
Closes #450
11 лет назад
Phillip Johnsen
c1160a2b32
Merge pull request #454 from nagaozen/patch-4
Minor changes to make it compatible with both WSH and ASP (eslint com…
11 лет назад
Phillip Johnsen
4904d58a86
Merge pull request #456 from mmcev106/master
Added the keywords "imports", "nested" and "subtemplates" to the docs
11 лет назад
Mark McEver
2d12c61bac
Added the keywords "imports", "nested" and "subtemplates" to the docs for Partials. It took me forever to find this feature because those were the keywords I was looking for. The term "partials" means something slightly different in some circles, so I kept misinterpretting their use when skimming the docs.
11 лет назад
David da Silva Contín
519669d2cb
Merge pull request #455 from janl/improve/cli-parse-error
Improve CLI parsing error
11 лет назад
Phillip Johnsen
b2fb42e572
Improve CLI parsing error
11 лет назад
David da Silva
cb14bb2dd6
don't push auto-generated browser render test
11 лет назад
Fabio Zendhi Nagao
60c2da8078
Minor changes to make it compatible with both WSH and ASP (eslint compatible)
Made it eslint compatible.
11 лет назад
David da Silva Contín
c03f25a6fa
Merge pull request #453 from pgilad/patch-2
Add license attribute
11 лет назад
Gilad Peleg
4397136aab
Add license attribute
https://docs.npmjs.com/files/package.json#license
http://npm1k.org/
11 лет назад
Phillip Johnsen
1fdfdcf606
Dont run browser tests in PRs.
As secure $ENVs are disabled for pull requests and those $ENVs are required for running browser tests on saucelabs.
http://docs.travis-ci.com/user/pull-requests/#Security-Restrictions-when-testing-Pull-Requests
+ updated readme with the fact that browser tests are only runned automatically when *merged into master*, not in the PR stage
11 лет назад
Phillip Johnsen
85d013c50f
Improved Travis node version test
11 лет назад
Phillip Johnsen
35df920bd7
New secure saucelabs $ENVs on Travis and less browsers.
With 25 different browser versions it could easily take 15-25 minutes for a run too finish.
Only test latest chrome & firefox atm, increase support later as needed.
11 лет назад
Phillip Johnsen
7ed3696eab
Cleanup node v0.6 and v0.11 stuff from Travis.
Removing hacks to get v0.6 tests running; specific npm client version + upgrading mocha.
Also v0.12 of node has been released, therefore there's no reason to still keep testing on v0.11.
11 лет назад
David da Silva Contín
f67cd1aa4a
Merge pull request #443 from phillipj/feature/browser-tests
Browser tests
11 лет назад