@abp/core
Advanced tools
Comparing version 0.4.9 to 0.5.3
{ | ||
"version": "0.4.9", | ||
"version": "0.5.3", | ||
"name": "@abp/core", | ||
@@ -7,3 +7,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "2e846ad3e5a8cbe04100484865335fbcd845a342" | ||
"gitHead": "824de4c615c1d4d1d7f07d6ec1e8d0cb3a303c72" | ||
} |
@@ -164,2 +164,21 @@ var abp = abp || {}; | ||
/* SETTINGS *************************************************/ | ||
abp.setting = abp.setting || {}; | ||
abp.setting.values = abp.setting.values || {}; | ||
abp.setting.get = function (name) { | ||
return abp.setting.values[name]; | ||
}; | ||
abp.setting.getBoolean = function (name) { | ||
var value = abp.setting.get(name); | ||
return value == 'true' || value == 'True'; | ||
}; | ||
abp.setting.getInt = function (name) { | ||
return parseInt(abp.setting.values[name]); | ||
}; | ||
/* NOTIFICATION *********************************************/ | ||
@@ -166,0 +185,0 @@ //Defines Notification API, not implements it |
17418
432