Creates an instance of insert script src and calls super
so YassbBaseDirective assigns the args to the protected properties. Because the name of the js file is known, the only value actually used is fileContents
.
Absolute url to the js file.
Full config options
Directive full string found in the file
File contents there the yassb directive was found
Full path to the file being processed
Filename of the js file to link to.
Lang being processed
HTML code with the link to the script file.
Regex to match the comments to invoke the directive.
Inits the directive and replaces the directive string with the script src HTML code.
init
Sets the absolute url to the js file comparing the out
folder and the scriptsOutFolder
.
Sets the filename of the js file by calling assetsFileNameMaker
.
Sets the HTML code with the script src.
Insert script src tag to include the minified js file in webpages.