AppSuite:Debugging the UI: Difference between revisions

From Open-Xchange
No edit summary
Line 9: Line 9:
== Check settings ==
== Check settings ==
<pre class="language-settings">  
<pre class="language-settings">  
// check core settings
require('settings!io.ox/core').get();
require('settings!io.ox/core').get();
// check mail settings
require('settings!io.ox/mail').get();
</pre>
</pre>



Revision as of 09:52, 29 August 2013

Debugging the UI

Synopsis: A collection of hints to debug during UI development

What capabilities are available?

 
_(ox.serverConfig.capabilities).pluck("id").sort();

Check settings

 
// check core settings
require('settings!io.ox/core').get();
// check mail settings
require('settings!io.ox/mail').get();