Constructor
new Config()
Methods
(static) current() → {Config}
Retrieves the most recently-fetched configuration object, either from memory or from local storage if necessary.
Returns:
- Type:
-
Config
The most recently-fetched Parse.Config if it exists, else an empty Parse.Config.
(static) get() → {Promise}
Gets a new configuration object from the server.
Returns:
- Type:
-
Promise
A promise that is resolved with a newly-created configuration object when the get completes.
escape(attr)
Gets the HTML-escaped value of an attribute.
Parameters:
Name | Type | Description |
---|---|---|
attr |
String
|
The name of an attribute. |
get(attr)
Gets the value of an attribute.
Parameters:
Name | Type | Description |
---|---|---|
attr |
String
|
The name of an attribute. |