Some documentation

Far from complete, and probably needs a bit of work, but it's a start.

Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Travis Ralston 2017-10-30 21:09:24 -06:00
parent f070604350
commit 6f8523081b
4 changed files with 128 additions and 16 deletions

View file

@ -387,8 +387,6 @@ export default class SettingsStore {
throw new Error("Setting " + settingName + " does not have a handler for " + level);
}
console.log("Setting " + settingName +" in " + roomId +" at " + level +" to " + value);
if (!handler.canSetValue(settingName, roomId)) {
throw new Error("User cannot set " + settingName + " at " + level + " in " + roomId);
}