Quantcast
Channel: JavaScriptMVC Forum
Browsing all 3491 articles
Browse latest View live

Re : Live Binding Question

Fiddle?Is the control bound to the instance or is the template? Which is removed?Sent from my iPhoneOn Apr 21, 2013, at 6:05 AM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:

View Article


Re : Live Binding Question

I guess it would be the template since I am using <%= model.attr( "attrName" ) %> in the template to setup live-binding. Does that make it the template?I've tried removing the control's element...

View Article


Re : Live Binding Question

You aren't removing the element, only emptying it.  You have to remove the parent element for something like: <%= player.attr("name") %>

View Article

Re : Live Binding Question

Ok, so you have to remove a DOM element that is an ancestor to live binding in a template in order or it to clean up its bindings. It also seems that the live binding in a template must be wrapped in...

View Article

Re : Live Binding Question

Actually it seems like just calling "empty" does clean up template generated model bindings.As long as the the live-binding is wrapped in an element.http://jsfiddle.net/thecountofzero/a7YC3/

View Article


Re : Supported Pattern or Memory Leak?

This issue only exists in the list-memory-leak-fix branch. I see that it was merged into master, but the files that jsFiddle point to are the latest release files. While this isn't a "small" file, you...

View Article

Re : Hover events stop working after element removal

I am experiencing the same issue.Could a JSMVC Developer please look into this?Thanks in advance

View Article

Can I change the URL without triggering the event?

Consider following code:can.route.attr({'id': entry.id });How could I change the url route (hashtag) without triggering the url route handler like thiscan.Control({    ':id route': function() {...

View Article


Re : Hover events stop working after element removal

Is it this issue?https://github.com/bitovi/jquerypp/issues/64

View Article


Re : Can I change the URL without triggering the event?

why would you want to do that?

View Article

Templated Event Listener Handler Debugging Tools

Hey Peeps,I'm trying to debug a problem with a Canjs templated event listener, and I'm stuck! All three of my tools, listed below, have failed for different reasons.Are there any tools, tips, or...

View Article

Re : Can I change the URL without triggering the event?

Because I would wish to set the url for users as they go so they can share the link easily, but my url handler would partial reload the page too. The reload only supposed to happen when one using hash...

View Article

Re : Can I change the URL without triggering the event?

Why is your url handler (what is a url handler?) reloading the page? Should it not be?You're probably not getting the basics of how the hash is supposed to work.  If the id value of the hash changes,...

View Article


Re : Can I change the URL without triggering the event?

The url handler I refer to the ":id route" function, and thanks for your comment, the method is doing more than it supposed to.

View Article

Re : Templated Event Listener Handler Debugging Tools

FireQueryOne of the most useful parts of FireQuery is that it shows the data attached to every DOM node. As of jQuery 1.8, events are not accessible via .data(). Instead, you have to use...

View Article


Re : CanJS Memory Leak!

With the latest master (memory leak fix merged in) I am not seeing this error. I was only seeing this with the original "list-memory-leak-fix" branch.I will continue to test, but from what I am seeing...

View Article

Re : Supported Pattern or Memory Leak?

This appears to be resolved with the latest master.

View Article


Re : Hover events stop working after element removal

Looks like it is. Most of the custom event code from jQueryMX was migrated to jQuery++.jQueryMX is being replaced by CanJS in JMVC, so the only way to fix this in your current version of JMVC, is...

View Article

Re : Supported Pattern or Memory Leak?

Awesome timing.  Was just about to sit down to look into this :)

View Article

Re : Templated Event Listener Handler Debugging Tools

Curtis Cummings said:Otherwise, stepping through your code and inspecting the DOM at key points should be enough to figure out your problem.Yes, that's always an option. This is easier with smaller...

View Article
Browsing all 3491 articles
Browse latest View live