2
0
Fork 0

updated doc

This commit is contained in:
Willem 2015-02-27 15:49:28 +01:00
parent 65f989761a
commit 0a44f24813

View file

@ -180,7 +180,7 @@ A Node.js library providing automatic site assets aggregation.
Sometimes its needed for have forces downloads of a resource. Sometimes its needed for have forces downloads of a resource.
This can be done by adding an extra @ sign. This can be done by adding an extra @ sign.
'/static/js/lib/dynamic-generated.js@@http://localhost:8080/example-ui/include-js/generateModels; linkSources: ['/static/js/lib/dynamic-generated.js@@http://localhost:8080/example-ui/include-js/generateModels'];
note: if using localhost to download use the downloadStartDelay option so server is really up. note: if using localhost to download use the downloadStartDelay option so server is really up.
@ -190,10 +190,12 @@ A Node.js library providing automatic site assets aggregation.
## Target/Source locations ## Target/Source locations
The asset target file location is a derived value. The asset target file location is a derived value.
Its created by mapping the buildConfig.linkTarget in the buildConfig.linkMapping keys
Its created by mapping the assemblerConfig.linkTarget in the assemblerConfig.linkMapping keys
to get a prefix for the local file system location. to get a prefix for the local file system location.
The same is also true for the buildConfig.linkSources list which are url paths
which need to be mapped to the file system files by the buildConfig.linkMapping data. The same is also true for the assemblerConfig.linkSources list which are url paths
which need to be mapped to the file system files by the assemblerConfig.linkMapping data.
linkTarget: '/static/js/ffa/assets.js', linkTarget: '/static/js/ffa/assets.js',
linkMapping: ['/static/':'www_static/',], linkMapping: ['/static/':'www_static/',],
@ -425,16 +427,17 @@ Add unit tests for any new or changed functionality. Lint and test your code.
## Release History ## Release History
### 0.2.1 ### 0.2.1
* added example * Added example application
* fixed buid callback * Fixed buid callback
* fixed buildOrder default * Fixed buildOrder default
* Updated doc
### 0.2.0 ### 0.2.0
* redone objs * Redone objs
* added tests * Added tests
* made jslint pass * Made jslint pass
### 0.1.x ### 0.1.x
* added objectAdd * Added objectAdd
* Doc updates * Doc updates
* Initial release * Initial release