Skip to main content

Bug Tracker

Side navigation

#10686 closed bug (duplicate)

Opened November 05, 2011 06:33PM UTC

Closed November 05, 2011 07:11PM UTC

Last modified March 10, 2012 04:29AM UTC

Defining jQuery using AMD's define should be done after all of jQuery has been defined.

Reported by: timmywil Owned by:
Priority: low Milestone: 1.7.1
Component: core Version: 1.7
Keywords: Cc:
Blocked by: Blocking:
Description

requirejs does not have a problem with the placement, but curl.js does.

From @unscriptable:

"jQuery1.7 AMD bug: jQuery calls define() too early. dependent modules can execute before all of jQ is defined."

If I understand this correctly, moving the call to outer should fix it.

Attachments (0)
Change History (5)

Changed November 05, 2011 06:34PM UTC by timmywil comment:1

component: unfiledcore
milestone: None1.7.1
owner: → timmywil
priority: undecidedlow
status: newassigned

Changed November 05, 2011 06:36PM UTC by timmywil comment:2

It would be nice to include tests for all of the popular amd loaders.

Changed November 05, 2011 06:37PM UTC by timmywil comment:3

owner: timmywil
status: assignedopen

Changed November 05, 2011 07:11PM UTC by timmywil comment:4

resolution: → duplicate
status: openclosed

John made a report himself.

Changed November 05, 2011 07:11PM UTC by timmywil comment:5

Duplicate of #10687.