class type configs =object
..end
method disableCaching : bool Js.t Js.prop
Appends current timestamp to script files to prevent caching.
Defaults to: true
method disableCachingParam : Js.js_string Js.t Js.prop
The get parameter name for the cache buster's timestamp.
Defaults to: '_dc'
method enabled : bool Js.t Js.prop
Whether or not to enable the dynamic dependency loading feature.
Defaults to: false
method garbageCollect : bool Js.t Js.prop
True to prepare an asynchronous script tag for garbage collection (effective only if preserveScripts is false)
Defaults to: false
method paths : 'a. 'a Js.t Js.prop
The mapping from namespaces to file paths
{
'Ext': '.', // This is set by default, Ext.layout.container.Container will be
// loaded from ./layout/Container.js
'My': './src/my_own_folder' // My.layout.Container will be loaded from
// ./src/my_own_folder/layout/Container.js
}
Note that all relative paths are relative to the current HTML document.
If not being specified, for example, Other.awesome.Class
will simply be loaded from ./Other/awesome/Class.js
Defaults to: {'Ext': '.'}
method preserveScripts : bool Js.t Js.prop
False to remove and optionally garbage-collect asynchronously loaded scripts, True to retain script element for browser debugger compatibility and improved load performance.
Defaults to: true
method scriptChainDelay : bool Js.t Js.prop
millisecond delay between asynchronous script injection (prevents stack overflow on some user agents) 'false' disables delay but potentially increases stack load.
Defaults to: false
method scriptCharset : Js.js_string Js.t Js.prop
Optional charset to specify encoding of dynamic script content.