Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
can.view() stops working when execute three times with can.jquery #33
click three times on execute link.
I have verified this is an error. It seems jQuery's buildFragment returns a cacheable flag and it's up to jQuery to clone it when appropriate. For example:
This means that jQuery's buildFragment is not something we should follow exactly. We need our own which always returns a fresh copy.
Here's a JSFiddle that shows the problem: http://jsfiddle.net/7ACEL/2/