Ticket #2529166 (closed defect)

Reporter


Pradhap Nirmal Natarajan
Opened: 08/6/10
Last modified: 09/7/10
Status: closed
Type: defect
Resolution: fixed

Owner


Luke Smith
Target Release: 3.2.0
Priority: P3 (normal)
Summary: JSONP breaks with multiple YUI use calls in a page
Description:

Better explained with a example - http://spartanp.github.com/yui/jsonp_test.html This is because the global initialization of JSONP object on Env happens for every YUI().use call. I have made a fix on
my fork for this - http://github.com/spartanp/yui3-gallery/blob/master/src/gallery-jsonp/js/jsonp.js#L238

Type: defect Observed in Version: 3.2.0 PR1
Component: JSONP Severity: S2 (high)
Assigned To: Luke Smith Target Release: 3.2.0
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: All
URL: http://spartanp.github.com/yui/jsonp_test.html
Test Information:

Change History

Luke Smith

YUI Contributor

Posted: 08/6/10
  • location changed to Library Code
  • milestone changed to 3.2.0
  • priority changed to P3 (normal)
  • status changed from new to checkedin

Thanks for filing this.

Fixed in commit d7e90d3fc2c10a1da144394576dd4fe2c63ef086

George

YUI Developer

Posted: 09/7/10
  • resolution changed to fixed

George

YUI Developer

Posted: 09/7/10
  • status changed from checkedin to closed