Bug Tracker

Opened 7 years ago

Closed 7 years ago

#12632 closed bug (wontfix)

Extending the Objec object, then sends a Ajax request, errors occur

Reported by: baotongliu@… 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 ] );

}

会发生错误

Change History (1)

comment:1 Changed 7 years ago by Rick Waldron

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.