From 6ef7e607c8e1498e9300f7f422c1568a9bc95e4e Mon Sep 17 00:00:00 2001 From: gwarser Date: Fri, 9 Oct 2020 19:57:11 +0200 Subject: [PATCH] You should omit the `.js`... --- Resources-Library.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources-Library.md b/Resources-Library.md index cf85bd5..69c9840 100644 --- a/Resources-Library.md +++ b/Resources-Library.md @@ -21,7 +21,7 @@ - "regular expression" parameter means JavaScript [regular expression literal](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Writing_a_regular_expression_pattern) - mime type is `application/javascript` if not present - You can use the short alias form when available for scriptlet name - - You can omit the `.js` from the scriptlet name (eventually in some future this will be the official way to do this) + - You should omit the `.js` from the scriptlet name in scriptlet injection filters (eventually in some future this will be the official way to do this) - Do **not** skip `.js` when the scriptlet is used with `redirect=`, only when used in `+js(...)`. - crossed out resources are deprecated/removed.