rhaboo
rhaboo copied to clipboard
error on writing field
I've been getting the following intermittent error when re-writing a simple string field into rhaboo:
function release(that, force) {
var target, propname;
that._rhaboo.refs--; // <------- Uncaught TypeError: Cannot read property 'refs' of undefined
if (force || that._rhaboo.refs === 0) {
for (propname = undefined, target = that._rhaboo;
target;
target = that._rhaboo.kids[propname=target.next]) {
that._rhaboo.storage.removeItem(ls_prefix+target.slotnum);
if (propname!==undefined && P.typeOf(that[propname]) == 'object')
release(that[propname]); //recurse for any object-valued properties
}
delete that._rhaboo;
}
}
Can I have a HTML demo please?