Variable tmp in promise implicitly declared?
|Reported by:||johnwilander||Owned by:|
It seems the variable tmp in promise is implicitly declared (jquery-1.6.js line 1861). If you enter "use strict"; in the beginning of the file that variable becomes a strict mode violation.
In unminified code:
if (( tmp = jQuery.data( elements[ i ], deferDataKey, undefined, true )
In minified code:
while (g--)if (tmp = f.data(e[g], i, b, !0)
Regards, John Wilander
Change History (3)
comment:1 Changed 5 years ago by timmywil
- Component changed from unfiled to queue
- Milestone changed from 1.next to 1.6.1
- Priority changed from undecided to blocker
- Status changed from new to open