From 0a44f2481371c52375dbd27e96ff36343a44d749 Mon Sep 17 00:00:00 2001 From: Willem Date: Fri, 27 Feb 2015 15:49:28 +0100 Subject: [PATCH] updated doc --- README.md | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 33e6ac5..806cb42 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ A Node.js library providing automatic site assets aggregation. Sometimes its needed for have forces downloads of a resource. 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. @@ -190,10 +190,12 @@ A Node.js library providing automatic site assets aggregation. ## Target/Source locations 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. - 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', linkMapping: ['/static/':'www_static/',], @@ -425,16 +427,17 @@ Add unit tests for any new or changed functionality. Lint and test your code. ## Release History ### 0.2.1 -* added example -* fixed buid callback -* fixed buildOrder default +* Added example application +* Fixed buid callback +* Fixed buildOrder default +* Updated doc ### 0.2.0 -* redone objs -* added tests -* made jslint pass +* Redone objs +* Added tests +* Made jslint pass ### 0.1.x -* added objectAdd +* Added objectAdd * Doc updates * Initial release