Skip to content

jquery-ui widget directory? #571

Closed
Closed
@eegzapp

Description

@eegzapp

gridstack appears to be looking for jquery-ui to have a 'widget' directory which it doesn't.

I'm getting a number of messages that look like this (using Aurelia):

{ uid: 1,
  name: '<series>',
  branch: true,
  error:
   { [Error: ENOENT: no such file or directory, open 'G:\MY_DATA\aurelia-d3\node_modules\jquery-ui\ui\widget\data.js']
     errno: -4058,
     code: 'ENOENT',
     syscall: 'open',
     path: 'G:\\MY_DATA\\aurelia-d3\\node_modules\\jquery-ui\\ui\\widget\\data.js',
     moduleTree: [ 'gridstack/gridstack' ],
     fileName: 'G:/MY_DATA/aurelia-d3/node_modules/gridstack/dist/gridstack.js' },
  duration: [ 2, 271964388 ],
  time: 1481756814746 }

jquery-ui heirarchy in the ui folder:

core.js                
data.js                
disable-selection.js   
effect.js              
effects/               
escape-selector.js     
focusable.js           
form.js                
form-reset-mixin.js    
i18n/                  
ie.js                  
jquery-1-7.js          
keycode.js             
labels.js              
plugin.js              
position.js            
safe-active-element.js 
safe-blur.js           
scroll-parent.js       
tabbable.js            
unique-id.js           
version.js             
widget.js              
widgets/

If I copy all the .js and the widgets directory from the top level of the jquery-ui module into a widget folder, then everything works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions