Permalink
Browse files

Missed something...

  • Loading branch information...
1 parent 1c48960 commit 7b2b271a3fc736de2b222f742826033919dd8f3a @Qard committed Jan 26, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.md
View
@@ -76,6 +76,9 @@ Add or remove a file by its path from the block and watcher. Note that this will
### crsh.compile(callback)
Forces the current block to compile. This is called automatically when a new block is constructed with a file_paths list or the watcher is enable and a change has occured. When chaining, this is called manually instead.
+### crsh.getUrl()
+Gets a handy url fragment containing the name of the block file and a modification date timestamp for cachebusting.
+
### Crsh.middleware([base_path], blockDefs)
For each item in blockDefs, constructs a new Crsh instance and exposes it in req.crsh[name]. Also creates a "crsh_{name}" properties in view locals.

0 comments on commit 7b2b271

Please sign in to comment.