◆ __init__()
def fiftyone_pipeline_core.javascriptbuilder.JavascriptBuilderElement.__init__ | ( | self, | |
settings = {}
|
|||
) |
JavaScriptBuilder constructor.
- Parameters
-
- {dict} - options options object
- Parameters
-
- {string} - options.obj_name the name of the client
- side object with the JavaScript properties in it ('fod' by default)
- Parameters
-
- {string} - options.protocol The protocol ("http" or "https")
- used by the client side callback url.
- This can be overriden with header.protocol evidence
- Parameters
-
- {string} - options.host The host of the client side
- callback url. This can be overriden with header.host evidence.
- Parameters
-
- {string} - options.endpoint The endpoint of the client side
- callback url
- Parameters
-
- {boolean} - options.enable_cookies Whether the client JavaScript
- stored results of client side processing in cookies. This can also
- be set per request, using the "query.fod-js-enable-cookies" evidence key.
- For more details on personal data policy,
- see http://51degrees.com/terms/client-services-privacy-policy/
- Parameters
-
- {boolean} - options.minify Whether to minify the JavaScript