Skip to main content

Search and Top Navigation

#15028 closed bug (notabug)

Opened August 08, 2016 07:21PM UTC

Closed August 09, 2016 03:22PM UTC

define is not defined

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

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

Attachments (0)
Change History (3)

Changed August 08, 2016 07:25PM UTC by arschmitz comment:1

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.

Changed August 08, 2016 07:27PM UTC by plong0 comment:2

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

Changed August 09, 2016 03:22PM UTC by arschmitz comment:3

resolution: → notabug
status: newclosed

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