Extjs Namespace

How to use namespace without ExtJS?

if (! App) { App = {}; }
if (! App.form) { App.form = {}; }
if (! App.data) { App.data = {}; }

How to use namespace with ExtJS?

Ext.ns('quantros', 'quantros.qsupport', 'quantros.qsupport.productactivation');
var qsupport = quantros.qsupport;
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License