Deprecate .load(), .unload(), and .error() methods
|Reported by:||dmethvin||Owned by:|
These are shortcut names for
$().bind("load", fn) etc.
.load()method is an ambiguous signature, it can either be an ajax load or attach/fire a "load" event. CCAO cannot tell them apart since it's a dynamic decision based on arguments.
.load()is being deprecated,
.unload()should be as well.
.error()method has never worked to attach a
window.onerrorevent since the function signature is not the same as a standard event handler. It may also be confused with
jQuery.error()which is not related.
Change History (6)
comment:1 Changed 5 years ago by
|Component:||unfiled → event|
|Milestone:||None → 1.8|
|Priority:||undecided → low|
|Status:||new → open|
Note: See TracTickets for help on using tickets.