Re : IE EJS Issue?
Has anything been decided about this?It doesn't look like it has been changed and as is, it doesn't work in IE
View ArticleRe : Externs file for Google Closure
Unfortunately not. ADVANCED_OPTIMIZATIONS was a topic we wanted to tackle for a while (looks as if it makes about a 0.8k difference at the moment). Where can I find documentation for the extern files?
View ArticleRe : Externs file for Google Closure
I started looking into ADVANCED_OPTIMIZATIONS to achieve function renaming across many files including jquery-x.x.x.min.js, jquery-ui-x.x.x.custom.min.js and can.jquery.min.js.The goal is to have the...
View ArticleEmpty A Model's Store
What are the side effects of doing the following to empty the store of a model?myModel.store = {};Will this break anything? What will happen to any models that had live binding? I was doing this in my...
View ArticleRe : can.route handling specific routes
HiI have also struggled with the canjs routing system, ref my post https://forum.javascriptmvc.com/#Topic/32525000001153061 Try this implementation. The problem with so if you are on the #!bar/blah...
View ArticleRe : can.route handling specific routes
Thanks for sharing your struggles and helping out. I'm not sure that I like having to give up the ability to have a default route and instead have to create specific routes in order to bind to...
View Articlecan.route mangles hash value when you change it to a value including query...
Can route is updating the hash with overly-agressive URL encoding when you put query string params into the hashbang. And it is buggy in that it is inserting an & after the #! when it does this as...
View ArticleRe : EJS Full Lint JS - Does it actually work in JMVC?
That Full Lint ejs sounds really useful. I wasn't able to figure out any way to get it to work either, though, and on the project's forum there's a thread from last year which suggests it might not be...
View ArticleRe : EJS Full Lint JS - Does it actually work in JMVC?
We use steal but the problem we have is if we have lots of partial ejs files that invoke other ejs files...a generic EJS eval error doesn't help pinpoint which EJS and where it actually went wrong.I'd...
View ArticleCanJS + BoilerplateJS?
A client of mine is looking to adopt a new framework/library to replace the homegrown spaghetti code they have now and has narrowed the choices down to BackboneJS and CanJS. They are asking me to...
View ArticleIs there a plan to support MVVM style live two way live binding. Also Filters...
Recently I was going through JsRender JsViews by Borris Moore. He has implemented both MVVM and normal template based two way live binding setup. * Its interesting to see both MVVM and MVC...
View ArticleRe : Is there a plan to support MVVM style live two way live binding. Also...
You can make mustache helpers that do whatever you want:http://bitovi.com/blog/2013/01/weekly-widget-two-way-mustache-helpers.html
View ArticleRe : CanJS + BoilerplateJS?
JavaScriptMVC is CanJS's architectural guidance. Here's how we build CanJS apps (with JavaScriptMVC):http://www.youtube.com/watch?v=NZi5Ru4KVughttp://www.youtube.com/watch?v=yFxDY5SQQp4The lessons...
View ArticleRe : Is there a plan to support MVVM style live two way live binding. Also...
Thanks Justin, I have already read that post and actually based my idea assming mustach two way helpers will eventually be part of core mustache and canjs integration and then the need for data...
View ArticleRe : How to store DOM in a controller without create memory leak ?
What about if you have a can.Control (MasterControl) that instantiates some other can.Control like so:this.superCoolControl = new SuperCool( "#supercool", { } );MasterControl has a reference to the...
View ArticleBinding To Changes on Models In A List
Is there a way to use templated event binding in a can.Control to listen for changes to any model in a model list?The list of models is fetched in the init of the control. Anytime there is a change in...
View ArticleRe : Binding To Changes on Models In A List
Listen for a change event in the list, check the attr argument. Sent from my iPhoneOn Apr 6, 2013, at 8:01 PM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:
View ArticleRe : How to store DOM in a controller without create memory leak ?
If your control was properly destroyed it would unbind all the events and data associated with the control instance. As long you have a live reference to the object it resides in the heap. But that is...
View ArticleHow to render an inverted list in mustache?
I have a list of items. I want the to display the last one at the top. Can I do this in can.Mustache?Thanks,Sebastian
View ArticleHow to create a filtered list?
Is it possible to create a filtered list using can.Mustache?E.g. I have a list of items, but I would like to only display some items based on a certain attribute e.g. active = trueThanks.
View Article