Deploy.server Class
Access point: ac.deploy.* Provides ability to create client runtime deployment HTML
Item Index
Methods
constructMojitoClientRuntime
(
-
assetHandler -
binderMap
Builds up the browser Mojito runtime.
Parameters:
-
assetHandlerAssetHandlerasset handler used to add scripts to the DOM under construction.
-
binderMapObjectinformation about the binders that will be deployed to the client.
getScripts
(
Object
private
-
embed -
urls
TODO: [Issue 66] This can be made faster with a single for loop and caching.
Note: A single SCRIPT tag containing all the JS on the pages is slower than many SCRIPT tags (checked on iPad only).
Parameters:
-
embedBoolShould returned scripts be embedded in script tags.
-
urlsObjectMapping of URLs to filesystem paths. The keys are the URLs, and the values are the cooresponding filesystem paths.
Returns:
Object:
An object containing script descriptors.
setStore
(
private
-
rs
Declaration of store requirement.
Parameters:
-
rsResourceStoreThe resource store instance.
