Assets Loader, wrap around $.ajax
- License:
- MIT
- MIT
- Source:
Methods
(static) inQueue(url) → {Boolean}
Check if a given url is in the queue
- Source:
Parameters:
Name | Type | Description |
---|---|---|
url |
Object
|
Url object to check |
Returns:
- Type:
-
Boolean
(static) isLoading(url) → {Boolean}
Check if a given url is loading (Only GET request)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
url |
Object
|
Url object to check |
Returns:
- Type:
-
Boolean
(static) load(url, priority)
Put the request in the queue and trigger the load
- Source:
This:
Parameters:
Name | Type | Description |
---|---|---|
url |
Object
|
Url Object |
priority |
Integer
|
Returns:
this
(static) working() → {Boolean}
Get the flag if the loader is working or not
- Source:
Returns:
- Type:
-
Boolean