CanJS NYC and Boston meetups this week
Check them out:http://www.meetup.com/CanJS-NYC/http://www.meetup.com/CanJS-Boston/
View ArticleRe : CanJS 2.0 and jQuery 1.10+
Version 2.0.2 has been verified to work with jQuery 1.10 and 2.0.
View ArticleSteal, pluginify, and view templates with JavascriptMVC 2.4.2
Our team is in a bit of a bind. We have an application built on top of JMVC 2.4.2 and need a steal-less build of it. Unfortunately, the app makes use of EJS view templates and it looks like pluginify...
View ArticleClean up on control/view removal
I have a control that does a lot of requests to the server, when the view is removed from the DOM I want that control to stop doing work. Please see example at http://jsbin.com/otofusimE/5/editOn my...
View ArticleRe : CanJS NYC and Boston meetups this week
The Boston meetup was a great meeting.I encourage everyone to attend these whenever they occur in your neck of the woods.
View ArticleRe : Clean up on control/view removal
First thing is that the controls are not being destroyed when you click on the A or B buttons. When you click, you are just adding another control to the ".view" DOM element.
View ArticleRe : Clean up on control/view removal
I would put all your deferreds in an array, (they remove themselves when the request completes). Overwrite the destroy method to .abort() all remaining requests in that array.doSomething: function(){...
View Articlecan/map/elements/elements.js
Is this missing from the repository?It's referenced in can/model/list/list.js
View ArticleRe : can/map/elements/elements.js
https://github.com/bitovi/canjs/commit/520f1b96fae68e178197018c28bd1c10612ae7e5
View ArticleRe : Upgrading To CanJS 2
http://canjs.com/guides/migrating.htmlSent from my iPhoneOn Nov 21, 2013, at 2:38 PM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:
View ArticleRe : Clean up on control/view removal
hi JustinYes I am doing something like that in my app, putting the deferreds in an array and calling abort on them.But my question is really what is the best practice for doing clean up like this on...
View ArticleRe : Clean up on control/view removal
Why don't you have the routing control to the following:1. When the route changes have it empty the main DOM container2. Then have it add an empty placeholder DOM element and attach the new sub control...
View ArticleRe : Clean up on control/view removal
@thecountofzero Nice, that worksI don't have to call destroy manually, great!Here is a fiddle for anyone interestedhttp://jsbin.com/otofusimE/6/edit
View ArticleRe : Upgrading To CanJS 2
Thanks for the link. Looks like my upgrade was successful. Wasn't painful at all. Only issue I had was related to the removal of the elements plugin which is still referenced in model/list/list.js...
View ArticleRe : Clean up on control/view removal
Sure thing. I am using that pattern in one of my apps. Glad I could help.
View ArticleTodo App
@justinmeyer,Is there a completed version of the Todo App using can.Components that was used during the meetup?
View ArticleRe : Todo App
I said I would post it when I make the video. Sent from my iPhoneOn Nov 21, 2013, at 9:24 PM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:
View ArticleRe : Link to "How to write REST API" gist page?
Thanks https://gist.github.com/justinbmeyer/3753564
View Article'attributes' and extended models
Hi there! I'm a user of JSMVC v.3.2, and I work on a project that has, among others, this type of architecture://--BeginModel.extend('CareGiver', {}, { model: function(data) { this.name =...
View Article