Adding a complex example
This commit is contained in:
parent
c93eee129b
commit
a615cc9052
@ -42,6 +42,30 @@ grunt.initConfig({
|
||||
});
|
||||
```
|
||||
|
||||
## Supplying template modules and vendors
|
||||
|
||||
A complex version for the above example
|
||||
|
||||
```js
|
||||
// Example configuration
|
||||
grunt.initConfig({
|
||||
jasmine: {
|
||||
customTemplate: {
|
||||
src: 'src/**/*.js',
|
||||
options: {
|
||||
specs: 'spec/*Spec.js',
|
||||
helpers: 'spec/*Helper.js',
|
||||
template: require('exports-process.js')
|
||||
vendor: [
|
||||
"vendor/*.js",
|
||||
"http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
## Sample RequireJS/NPM Template usage
|
||||
|
||||
```js
|
||||
|
Loading…
Reference in New Issue
Block a user