Module Types.ResourceSource

Resources that extensions can inject into pages (HTML only)

Sourcetype t =
  1. | Js_url of string
    (*

    External JavaScript: <script src="...">

    *)
  2. | Css_url of string
    (*

    External CSS: <link rel="stylesheet" href="...">

    *)
  3. | Js_inline of string
    (*

    Inline JavaScript: <script>...</script>

    *)
  4. | Css_inline of string
    (*

    Inline CSS: <style>...</style>

    *)
Sourceval equal : t -> t -> bool