Skip to content
This repository was archived by the owner on Aug 14, 2021. It is now read-only.
This repository was archived by the owner on Aug 14, 2021. It is now read-only.

Require.js requires jquery-ui #82

@nkolban

Description

@nkolban

I am trying to load the plugin using require.js (AMD). Unfortunately, it gives me an error. Looking at the source, I see the following line:

define([ "jquery" ], factory )

which states that we have a dependency on jquery. This is fine but the plugin also uses jquery-ui which is where $.widget() comes from. I think that the plugin may need to be altered to have the following as a define:

define([ "jquery", "jquery-ui" ], factory )

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions