jquery/jquery-datalink — Issue #37: link same array to DOM twice causes view data undefined
Author: xusun
Created: 2011-11-02 23:09:51+00:00
State: open

simple repro:
var fooData = [{ name: "a" }, { name: "b" }, { name: "c"}];
$("#foobody").link(fooData, $.template("#footemp"));

then call this again:
$("#foobody").link(fooData, $.template("#footemp"));

Then try to get the dom element and call $.view(this).data, it becomes undefined.