Methods
canHandle(url) → {boolean}
Determines if the handler can process the given URL.
Parameters:
Name | Type | Description |
---|---|---|
url |
string | The url to process |
- Source:
Returns:
- True if teh handler can process the given URL.
- Type
- boolean
fetch(url, callback)
Fetches the given data associated with the code source
Parameters:
Name | Type | Description |
---|---|---|
url |
string | The url of the code source |
callback |
SourceHandler~fetchCallback | The callback for the fetch operation. |
- Source: