prepare public api
This commit is contained in:
parent
507b6fed3e
commit
dd0e22a979
18 changed files with 237 additions and 94 deletions
|
|
@ -50,8 +50,12 @@
|
|||
$ui: {},
|
||||
config: data.config,
|
||||
user: data.user,
|
||||
readOnly: data.readOnly,
|
||||
version: data.version
|
||||
});
|
||||
if (oml.readOnly) {
|
||||
oml.user.ui = oml.localStorage('ui') || oml.user.ui;
|
||||
}
|
||||
['preferences', 'ui'].forEach(function(key) {
|
||||
// make sure all valid settings are present
|
||||
oml.user[key] = Ox.extend(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue