Still.Compiler.TemplateHelpers.LinkToJS (Still v0.8.0) View Source

Generates a script HTML tag to the target JS file.

This file must exist and to ensure that, it will be compiled outside Still.Compiler.CompilationStage.

Link to this section Summary

Functions

Generates a script HTML tag to the target JS file.

Link to this section Functions

Link to this function

render(env, input_file, opts)

View Source

Specs

render(map(), String.t(), [any()]) :: String.t()

Generates a script HTML tag to the target JS file.

All options are converted to the attr=value format.