Opened 7 years ago

Closed 7 years ago

#15028 closed bug (notabug)

define is not defined

Reported by: Pat Long Owned by:
Priority: minor Milestone: none
Component: ui.core Version: 1.12.0
Keywords: Cc:
Blocked by: Blocking:

Description

I have installed jquery-ui via bower and I am only including a subset of the components: core.js, widget.js, mouse.js, sortable.js

After updating to 1.12 I receive the error:

core.js:3 Uncaught ReferenceError: define is not defined

Change History (3)

comment:1 Changed 7 years ago by Alexander Schmitz

Core.js is not meant for manual inclusion in a page its simply backcompat for those using amd and refrencing the core module. This file was broken down into smaller modules. Just include the ones you need.

comment:2 in reply to:  1 Changed 7 years ago by Pat Long

Thanks. I also see in core.js: "This file is deprecated in 1.12.0 to be removed in 1.13"

comment:3 Changed 7 years ago by Alexander Schmitz

Resolution: notabug
Status: newclosed

Im going to close this since its not a bug or a mistake but rather intentional.

Note: See TracTickets for help on using tickets.