Closed 1602 closed 11 years ago
this would be super useful. I added this functionality more or less in the application layer but having it in the framework would be awesome!
c.isMobile
is undefined now, is this a future feature?
@alexiskattan, yes it is not implemented yet.
On Wed, May 29, 2013 at 9:05 AM, alexiskattan notifications@github.com wrote:
c.isMobile
is undefined now, is this a future feature?Reply to this email directly or view it on GitHub: https://github.com/1602/compound/issues/531#issuecomment-18596357
Provide API for configuring renderView to be able to render special template when c.isMobile is true. For example:
will render view
/app/views/users/list.ejs
for desktop, and/app/views/users/list.mob.ejs
for mobile