From ba4ba3236017d38be6cb0ecda0ead65000203e68 Mon Sep 17 00:00:00 2001 From: Jayraj Jog Date: Fri, 24 Jan 2014 12:16:10 -0800 Subject: [PATCH] Make processName example clearer The description for processName says the function is passed the filepath but the example uses an argument named `filename`. This change makes it clearer that the filepath is being passed to the function --- docs/jst-options.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/jst-options.md b/docs/jst-options.md index 9b0d120..f4ea625 100644 --- a/docs/jst-options.md +++ b/docs/jst-options.md @@ -20,8 +20,8 @@ This option accepts a function which takes one argument (the template filepath) ```js options: { - processName: function(filename) { - return filename.toUpperCase(); + processName: function(filepath) { + return filepath.toUpperCase(); } } ```