javascript - jQuery UI with RequireJS v.1.11.1 - script error -
i following guide: https://github.com/jquery/learn.jquery.com/blob/master/page/jquery-ui/environments/amd.md
and trying require jquery-ui/sortable , jquery-ui/draggable, fails, saying:
uncaught error: script error for: lib/jquery-ui/draggable
this folder structure:

this how load it:
define(['jquery', 'lib/jquery-ui/draggable', 'lib/jquery-ui/sortable'], function($) {
what doing wrong?
also surprises me there no such file, "sortable", in jquery-ui - documentation tells me way. using v1.11.1
found out package available download official place: contacted version.
it wasn't pretty easy find library looking for, found @ github:
Comments
Post a Comment