Side navigation
#12632 closed bug (wontfix)
Opened September 29, 2012 01:40AM UTC
Closed September 29, 2012 02:00AM UTC
Extending the Objec object, then sends a Ajax request, errors occur
Reported by: | baotongliu@gmail.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When the extension Object prototype object, if it is not a function, or function for some special treatment, sends a Ajax request, in the code:
for (I in {success: 1, error: 1, complete: 1}) {
jqXHR[ i ]( s[ i ] );
}
An error occurs.
Chinese is as follows:
当扩展Object原型对象后,如果其不是一个函数,或者函数进行了一些特殊处理,发送Ajax请求后,在
for ( i in { success: 1, error: 1, complete: 1 } ) {
jqXHR[ i ]( s[ i ] );
}
会发生错误
Attachments (0)
Change History (1)
Changed September 29, 2012 02:00AM UTC by comment:1
resolution: | → wontfix |
---|---|
status: | new → closed |
http://docs.jquery.com/Won't_Fix