Thanks Marco,
Yeah I used espresso to generate the view. I knew it was going to be
something simple (>_<). This is actually quite informative because the
behaviour I was experiencing must means that M.PageView is a singleton
of sorts which makes a lot of sense.
I think adding an optional parameter to the -v option wouldn't be a a
bad idea. The command template would be:
espresso generate -v viewtype viewname
Where viewtype would be the name of the view class you would like to
generate a file for like:
PageView
ListItemView
etc.
If viewtype is omitted then the command would just behave like it does
now which is generating a PageView.
PS.
Coming from just testing out Sencha Touch and jQuery Mobile I found
that neither of them fit the criteria I was looking for. I'm hoping
that the The-M-Project will give similar performance and features as
Sencha Touch along with the broader browser support that jQuery Mobile
offers. So far I like what I see. The documentation and code structure
seems a lot more intuitive than Sencha's. Keep up the good work and
looking forward to the next release with the carousel (^_^)