MCPcopy Index your code
hub / github.com/ClearURLs/Addon / toObject

Function toObject

clearurls.js:240–243  ·  view source on GitHub ↗

* Convert the external data to Objects and * call the create provider function. * * @param {String} retrievedText - pure data form github

(retrievedText)

Source from the content-addressed store, hash-verified

238 * @param {String} retrievedText - pure data form github
239 */
240 function toObject(retrievedText) {
241 getKeys(storage.ClearURLsData.providers);
242 createProviders();
243 }
244
245 /**
246 * Deactivates ClearURLs, if no rules can be downloaded and also no old rules in storage

Callers 2

getHashFunction · 0.85
fetchFromURLFunction · 0.85

Calls 2

getKeysFunction · 0.85
createProvidersFunction · 0.85

Tested by

no test coverage detected