Skip to content

Commit

Permalink
bump + docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Bellamy-Henn committed Oct 15, 2015
1 parent 8e93fac commit 9cf2f6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ options.annotator = function(contents, path) {

### Replacer

The replacer function's job is to replace references to revisioned files. The paremeters are as folows:<br/>
The replacer function's job is to replace references to revisioned files. The paremeters are as follows:<br/>

```fragment```: a file fragment as created in the annotator function.<br/>
```replaceRegExp```: parameter is a regular expression that can be used to match the part of the fragement to be replaced. The regular expression has 4 capture groups. $1 & $4 are what precedes and follows the reference. $2 is the file path without the extension, and $3 is the file extension.<br/>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gulp-rev-all",
"version": "0.8.21",
"version": "0.8.22",
"description": "Static asset revisioning by appending content hash to filenames: unicorn.css => unicorn.098f6bcd.css, also re-writes references in each file to new reved name.",
"main": "index.js",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion revisioner.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ var Revisioner = (function () {

}

contents = annotatedContent.map(function(annotation) {return annotation.contents;}).join('');
contents = annotatedContent.map(function(annotation) { return annotation.contents; }).join('');
file.contents = new Buffer(contents);

};
Expand Down

0 comments on commit 9cf2f6d

Please sign in to comment.