Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Commit

Permalink
Added filter-in and out description
Browse files Browse the repository at this point in the history
A little definition of what are doing the 3rd and 4th element of the
patterns array
  • Loading branch information
dvdvck committed Nov 10, 2014
1 parent 3382f00 commit b2aeac0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@ So in short:
* First one if the regexp to use. The first group is the one that is supposed to represent the file
reference to replace
* Second one is a logging string
* FIXME
* FIXME
* A function which behaves like a filter-in. Receives the matched group and must return the file
path of the asset. Great functionality when you have a compiled file by a template engine.
* A function which behaves like a filter-out. It receives the revved path of the asset and must
return it as an url from it will be reached from web server.

#### blockReplacements

Expand Down

0 comments on commit b2aeac0

Please sign in to comment.