Dust.HTML.Scripts (Dust v0.0.2-dev) View Source

Handles JavaScript assets.

Link to this section Summary

Functions

Split and prepare each script

Link to this section Types

Specs

scripts() :: [binary()]

Link to this section Functions

Specs

inline([Dust.Asset.t()] | keyword()) :: scripts()

Split and prepare each script

Parameters:

  • assets collection of scripts.

Returns:

  • [String.t()] list of JavaScript sources.