Is it possible with v2.0 of Jmvc to change the default EJS to HTM??
I seem to remember in v1.0 it being available but had a bug
My editor acts better towards htm files..
Thanks in advance
Sent from my iPhone
> --
>
> You received this message because you are subscribed to the Google
> Groups "JavaScriptMVC" group.
> To post to this group, send email to javasc...@googlegroups.com.
> To unsubscribe from this group, send email to javascriptmv...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/javascriptmvc?hl=en
> .
>
>
I presume its a change in init.js ????
thanks in advance
On Dec 19, 8:29 pm, Justin Meyer <justinbme...@gmail.com> wrote:
> Yes it is
>
> Sent from my iPhone
>
Sent from my iPhone
But i didn't find any documentation on it... maybe i was looking
wrong and searching the group for things like "change ejs extension"
etc .. found nothing..
Anyway this is what i have.. in my init file but i have a few init
files...
include(function() { //runs after prior includes are loaded
$.View.config({ ext: '.htm' });
include.models('broker', 'calendar');
include.controllers('reservation', 'date_selectors', 'calendar');
include.views();
});
so i was wondering if i can place it in my myglobalsettings.js file
which currently has this,
include = { env: 'development' };
all my pages have a reference to this...
this way i could move it out of the init and place it in my global
file.
Any ideas on this?
thanks
On Dec 19, 11:16 pm, Justin Meyer <justinbme...@gmail.com> wrote:
> Search the group. I am not by my computer.
>
> Sent from my iPhone
>
On Dec 20, 6:08 pm, Justin Meyer <justinbme...@gmail.com> wrote:
> You can have some other global setting like:
>
> ViewSettings = {
> cache: true
>
> }
>
> And then later:
>
> $.View.config(ViewSettings );
>
> Justin Meyer
>
> Jupiter Consulting
> \Development\Training\Support847-924-6039
> > javascriptmv...@googlegroups.com<javascriptmvc%2Bunsu...@googlegroups.com>
> > > >>> .
> > > >>> For more options, visit this group athttp://groups.google.com/
> > > >>> group/javascriptmvc?hl=en
> > > >>> .
>
> > > > --
>
> > > > You received this message because you are subscribed to the Google
> > > > Groups "JavaScriptMVC" group.
> > > > To post to this group, send email to javasc...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > javascriptmv...@googlegroups.com<javascriptmvc%2Bunsu...@googlegroups.com>
> > > > .
> > > > For more options, visit this group athttp://
> > groups.google.com/group/javascriptmvc?hl=en
> > > > .
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "JavaScriptMVC" group.
> > To post to this group, send email to javasc...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > javascriptmv...@googlegroups.com<javascriptmvc%2Bunsu...@googlegroups.com>