Class: Registry

sync.ext. Registry


new Registry()

Registry for the framework extension objects.

Members


<static> extension :Extension

The field that holds the currently loaded extension.
Type:
  • Extension

<static> extensionURL :string

An URL where the `web` sub-folder of the framework is mapped.
Type:
  • string

Methods


<static> getExtensionURL()

Returns the URL of the extension resources folder. This can be used in a framework extension to load other resources that are relative to framework.js.
Returns:
The URL of the extension resources folder.
Type
String

<static> registerExtension(extension)

Registers the given extension.
Parameters:
Name Type Description
extension sync.ext.Extension The extension.