Re : After a fragment is added to the DOM, why updating an observable updates...
so the object returned by can.view() is a DocumentFragment object, which is just a plain vanilla DOM object (on the browser environment), and I am just using document.body.appendChild() to add it to...
View ArticleRe : I wonder what exactly is can.compute?
Yes, thanks for the note. My question was really about, is it true that there are 2 levels of observe. And I haven't seen such usage or behavior or pattern of can.compute() before, so wonder what...
View Articleheads up that a code sample should have !==
a headsup for the code sample, that the !== should be there, but there is a typo:http://canjs.com/var project = new can.Observe({ progress : 0.5});var percentage = can.compute(function(newVal){ //...
View ArticleRe : I wonder what exactly is can.compute?
I have been testing can.compute(s), observables, live binding with mustache templates and cross-binding to can.route. This example is inspired by the weekly widgets. See...
View ArticleInstantiating specific models off a list findAll()
JMVC 3.2 here:I'm wondering what the best method is when instantiating a list with different models extending off a base model class.I have a Person base model class - Student model and Teacher model...
View ArticleRe : Just basics
So why are you stick to 3.2, and not can.js (JMVC 3.3)? If you don't have basic questions you probably haven't done much with this framework, so I advise you to upgrade to can.js.
View ArticleRe : Can UI examples don't work
I saw the CanUI issues. Unfortunately the repository hasn't been updated with all the new releases of the projects it depends on (CanJS, jQuery++, Steal) yet. It should be easy to get it working again...
View ArticleRe : Can UI examples don't work
Hope to see updates soon, these tools are really useful.
View ArticleCanJS Memory Leak!
Thanks to Mike Malamud for discovering a memory leak in CanJS. We take them super seriously so we want to get a fix in ASAP.The problem comes from can.Model.List ability to remove destroyed model...
View ArticleWhat is ?
Sometimes I see the use of <script type="text/mustache" id="{{someName}}"> the Mustache template code is here </script>I wonder what the {{ and }} are for? Is it just part of...
View ArticleRe : What is ?
Where do you see that?Sent from my iPhoneOn Apr 16, 2013, at 5:55 PM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:
View ArticleRe : What is ?
it's a project I am working on.Or actually, the template: '{{someName}}',might usually take a path, but {{someName}} means that don't take it as a path, but just an element with the id {{someName}} ?
View ArticleRe : What is ?
Technically, the {{ }} is just part of an id of an element. Personally, If I am loading templates from script tags (which I rarely do), I'll use the staches to differentiate the template id from other...
View ArticleRe : _destroyed flag
This was removed in CanJS (which replaces jQueryMX in JMVC 3.3). I created an issue here to add something like this back. If you want to see this added to CanJS, comment on the issue and add your...
View ArticleRe : Just basics
Hi alex, I came to know that the JMVC 3.3 beta version only released. If it is stable version means pls answer my following questions.1. Is JMVC 3.3 give full support for developing very...
View ArticleRe : _destroyed flag
Thanks for your quick response! Yes, we did think of changing our check to see if this.element is null, as you mentioned above.. will do that for now, and also comment on the opened issue..Thanks again..
View ArticleRe : Just basics
1. Yes, as I know JMVC 3.3 just lacks documentation to be released2. Just clone (download) github master branch3. I would say JMVC consist of can.js (mvc), steal.js (dependency management tooll, like...
View ArticleRe : CanJS Memory Leak!
I think that is a more than fair trade off. I would think that the apps that this fix would break are in the minority and it would be too much work for those apps to be updated to work.All tests...
View ArticleRemove 'new' keyword when creating a can.Observe
Let me start off by saying that I've only been working with canJS for about 2 weeks. I'm new, but i came across something that caused me a few hours of frustration and I thought could be improved to...
View ArticleRe : Remove 'new' keyword when creating a can.Observe
A self invoking is only possible if we use some other method for extending.
View Article