fix setting HUMBLE_API configuration and document he various keys
| | |
| | | $HUMBLE_API: { |
| | | file_cache: {}, |
| | | options: { |
| | | locateAsset: null, |
| | | buildCacheKey: null |
| | | // allows altering the incoming URL before it is fetched from the network |
| | | locateAsset: null, // function(path) { return path; } |
| | | // takes a string key and returns a modified key. return null to NOT cache the specific resource |
| | | buildCacheKey: null, // function(path) { return path; } |
| | | }, |
| | | |
| | | configure: function(options) { |
| | | mergeInto(HUMBLE_API.options, options); |
| | | for (var i in options) { |
| | | HUMBLE_API.options[i] = options[i]; |
| | | } |
| | | }, |
| | | |
| | | locateAsset: function(path) { |