2012-11-28 22:41:10 +08:00
|
|
|
# Usage Examples
|
2012-10-19 07:02:45 +08:00
|
|
|
|
|
|
|
```js
|
|
|
|
jst: {
|
|
|
|
compile: {
|
|
|
|
options: {
|
|
|
|
templateSettings: {
|
|
|
|
interpolate : /\{\{(.+?)\}\}/g
|
|
|
|
}
|
|
|
|
},
|
|
|
|
files: {
|
|
|
|
"path/to/compiled/templates.js": ["path/to/source/**/*.html"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-11-28 22:41:10 +08:00
|
|
|
```
|