Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:olado/doT into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
olado committed Nov 30, 2014
2 parents 0b5eb9d + c192514 commit b45de54
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ Details

./bin/dot-packer -s examples/views -d out/views

## Example for express
Many people are using doT with express. I added an example of the best way of doing it examples/express:

[doT with express](examples/express)

## Notes
doU.js is here only so that legacy external tests do not break. Use doT.js.
doT.js with doT.templateSettings.append=false provides the same performance as doU.js.
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/templating/doT.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"use strict";

var doT = {
version: '1.0.1',
version: '1.0.2',
templateSettings: {
evaluate: /\{\{([\s\S]+?(\}?)+)\}\}/g,
interpolate: /\{\{=([\s\S]+?)\}\}/g,
Expand Down
2 changes: 1 addition & 1 deletion doT.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"use strict";

var doT = {
version: '1.0.1',
version: '1.0.2',
templateSettings: {
evaluate: /\{\{([\s\S]+?(\}?)+)\}\}/g,
interpolate: /\{\{=([\s\S]+?)\}\}/g,
Expand Down
14 changes: 7 additions & 7 deletions doT.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"simple",
"templating"
],
"version": "1.0.1",
"version": "1.0.2",
"main": "index",
"bin": {
"dottojs": "./bin/dot-packer"
Expand Down

0 comments on commit b45de54

Please sign in to comment.