diff --git a/README.md b/README.md index 3ec9d1c..01f6f40 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ module.exports = function(config) { cacheIdFromPath: function(filepath) { // example strips 'public/' from anywhere in the path // module(app/templates/template.html) => app/public/templates/template.html - var cacheId = filepath.strip('public/', ''); + var cacheId = filepath.replace('public/', ''); return cacheId; },