Skip to content

Commit 0dec7b0

Browse files
author
Derek Worthen
committed
Added plates support
1 parent 2abaf76 commit 0dec7b0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Readme.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,6 @@ cons.plates('views/user.html', {user: 'Tobi', map: _map}, function(err, html) {
8383
});
8484
```
8585

86-
```html
87-
// user.html
88-
<p id="user"></p>
89-
<ul class="list"></ul>
90-
91-
// partial.html
92-
<li id="item"></li>
93-
```
94-
9586
## Caching
9687

9788
To enable caching simply pass `{ cache: true }`. Engines _may_ use this option to cache things reading the file contents, compiled `Function`s etc. Engines which do _not_ support this may simply ignore it. All engines that consolidate.js implements I/O for will cache the file contents, ideal for production environments.

0 commit comments

Comments
 (0)