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(options) → {Parse.Promise}
Gets a new configuration object from the server.
Parameters:
Name | Type | Description |
---|---|---|
options |
Object
|
A Backbone-style options object. Valid options are:
|
Returns:
- Type:
-
Parse.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. |