gridstack.js icon indicating copy to clipboard operation
gridstack.js copied to clipboard

Not defined errors

Open FuddingtonBear opened this issue 11 years ago • 4 comments

I have downloaded the latest jquery ui libraries and gridstack js files and css and have referenced these in my project, however I am getting errors

ReferenceError: _ is not defined factory(jQuery, _);

This is within the gridstack.js file and when I try to use the example off the github page I get.

TypeError: $(...).gridstack is not a function $('.grid-stack').gridstack(options);

FuddingtonBear avatar Sep 09 '15 18:09 FuddingtonBear

Hi, you also need lodash.js or underscore.js

troolee avatar Sep 10 '15 01:09 troolee

@troolee Hi, on the latest Gridstack.js that I downloaded there is no lodash.js or underscore.js, but still I'm getting the same error.

joemorcullo8 avatar Nov 01 '17 09:11 joemorcullo8

Hi I know this is old but why dont the docs mention this?

abdullahseba avatar Nov 04 '17 07:11 abdullahseba

It is even older, and still not mentioned.

william-e-schroeder avatar Jul 19 '19 20:07 william-e-schroeder