A typo in documentation
A typo in documentation
Hello:
In http://jqueryui.com/docs/Developer_Guide
There is a typo. It says:
destroy: function() {
$.widget.prototype.apply(this, arguments); // default destroy
// now do other stuff particular to this widget
}
But it should say:
destroy: function() {
$.widget.prototype.destroy.apply(this, arguments); // default
destroy
// now do other stuff particular to this widget
}
The "destroy" work at the second line.
saludos
danigb
--