Added some documetnation

pull/199/head
Ruben Daniels 2015-09-15 05:25:55 +00:00
rodzic 2d10b65876
commit 0253e0e4d7
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -60,9 +60,13 @@ define(function(require, exports, module) {
current[parts[i]] = current = {};
}
current.type = "checkbox";
current.setting = "state/experiments/" + name.toLowerCase().replace(/\//g, "-");
current.setting = "state/experiments/" + query.split("=")[0].replace(/\//g, "-");
plugin.add(obj);
// TODO return the value of the query (to be checked in the location or the settings):
// =0 means the value should be set to 0 to disable otherwise it is enabled
// =1 means the value should be set to 1 to enable otherwise it is disabled
}
/***** Lifecycle *****/