renamed folders with lower cases and renamed user preferences to local settings

This commit is contained in:
Stanimir Karoserov
2014-05-13 17:59:30 +03:00
parent b6313517db
commit ceff7bb368
58 changed files with 227 additions and 225 deletions

View File

@@ -0,0 +1,12 @@

export var checkKey = function(key: string) : void {
if ("string" !== typeof key) {
throw new Error("key: '" + key + "' must be a string");
}
}
export var ensureValidValue = function (value: any, valueType: string): void {
if (valueType !== typeof value) {
throw new Error("value: '" + value + "' must be a " + valueType);
}
}