Is it possible to import all views in folder in ExtJS MVC -


assume have such extjs app folder structure:

/app   /view     /windows       /window1.js       /window2.js       /window3.js 

is possible import views in view.windows folder controller like:

views:[   'windows/*' ] 

instead of

views:[   'windows/window1.js',   'windows/window2.js',   'windows/window3.js' ] 

?

i think following possible:

requires: ['appname.view.windows.*'] 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -