Response title
This is preview!
I am developing a framework of jquery
widgets for a new project. They are created by the
$.widget
factory and they work well using
$("selector").myWidget(myOptions).
I want to avoid possible name collisions and prefer using the form
$.myNamespace.myWidget(myOptions,
mySelector)
, but an error is thrown when the selector
matches no element on page:
owner is
undefined, that I traced to the line 3649, on
jquery-2.2.0 (function
acceptData).
For reference, I've already read (and I think I understood):
This question was also posted on stackoverflow.
Do you have any thoughts?
© 2013 jQuery Foundation
Sponsored by and others.