You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason will be displayed to describe this comment to others. Learn more.
scriptlets.js is now imported as a javascript module, not parsed as a text. To support dependencies I would need to extend the text parser to support a dependencies field. Not sure it's worth it, using own scriptlets is quite niche.
236fb3a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to use
patternToRegex
in custom-scriptlets ?236fb3a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, custom scriptlets use the old parser, the new format works only for builtin scriptlets.
236fb3a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, I converted all my scriptlets to new scriptlet format
function(){}
so thought this would work too.236fb3a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
scriptlets.js
is now imported as a javascript module, not parsed as a text. To support dependencies I would need to extend the text parser to support adependencies
field. Not sure it's worth it, using own scriptlets is quite niche.