You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After some debugging the breaking difference seems to be this: factory(mod.exports,global.knockout, global.dragula);//broken
vs. factory(mod.exports, mod,global.ko, global.dragula); //works
If i change my version to global.ko it works.
Am i doing something wrong, do i need to do something extra so that it knows to look for knockout inside global.ko and not global.knockout?
Many thanks.
4imble
The text was updated successfully, but these errors were encountered:
Hello all,
I am attempting to transpile a file (it comes with it's own transpiled version but i wanted to be able to work with the es6 version and transpile it myself):
https://github.com/cbcrc/knockout-dragula/blob/master/knockout-dragula.js
I have set up gulp like so:
The file that it is generating looks starts like this:
The problem i am encountering and i am not sure if it is ignorance on my part but
_knockout
is coming through undefined.I looked at the transpiled file that they supply and this looks like this at the start:
https://github.com/cbcrc/knockout-dragula/blob/master/dist/knockout-dragula.js
After some debugging the breaking difference seems to be this:
factory(mod.exports,
global.knockout, global.dragula);//broken
vs.
factory(mod.exports, mod,
global.ko, global.dragula); //works
If i change my version to
global.ko
it works.Am i doing something wrong, do i need to do something extra so that it knows to look for knockout inside
global.ko
and notglobal.knockout
?Many thanks.
4imble
The text was updated successfully, but these errors were encountered: