Open ventralnet opened 4 years ago
Yup, appears Sortable dep now exports an object with the Sortable
ctor as a member.
@foxbunny And what that means? And how to make it work?
@shortcodes I think it should be:
var Sortable = typeof require === 'function'
? require('sortablejs').Sortable // <-- this here
: window.Sortable
'Error in directive sortable bind hook: Sortable is not a constructor'
I assume the Sortable dependency did some breaking changes