When using $.addObject I get "instance is undefined" from firebug at line 14. Changing line 13 (the one above) from: if (typeof arg == 'string'){ to if (typeof arg == 'string' && typeof instance !== 'undefined') { ...makes it work well for me. Actually, I don't see how it could work without that check?!
Activity
fiddur commentedon Sep 29, 2011
This is with jQuery 1.5 and the problem shows itself with a simple test page: