Side navigation
#9147 closed bug (fixed)
Opened May 06, 2011 01:44PM UTC
Closed May 06, 2011 04:10PM UTC
Variable tmp in promise implicitly declared?
Reported by: | johnwilander | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.6.1 |
Component: | queue | Version: | 1.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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
Thanks! I think you're right. L158 of queue.js