const classafDuvet::DuvetConfigIds

sys::Obj
  afDuvet::DuvetConfigIds

IoC Config values for Duvet.

requireBaseUrl

Source

const static Str requireBaseUrl := "afDuvet.requireBaseUrl"

The base URL from where RequireJS / AMD modules are loaded. It should be mapped by BedSheet's FileHandler service as this is where you save your Javascript modules.

Override this URL should it conflict with an existing BedSheet Route.

Defaults to `/modules/`.

requireJsFile

Source

const static Str requireJsFile := "afDuvet.requireJsFile"

The file that will be served under the RequireJS URL. Override it should you wish to serve a custom / updated version of RequireJS.

Defaults to `fan://afDuvet/res/require-2.1.14.js`.get.

requireJsUrl

Source

const static Str requireJsUrl := "afDuvet.requireJsUrl"

The URL that the RequireJS library will be served under. Override it should it conflict with an existing BedSheet Route.

Defaults to `/scripts/require-2.1.14.js`.

requireTimeout

Source

const static Str requireTimeout := "afDuvet.requireTimeout"

How long RequireJs waits before giving up on loading a script. Setting it to 0 or null disables the timeout. Equates to the waitSeconds config option.

Defaults to 15sec.