Cormac Relf

Results 226 comments of Cormac Relf

Will accept a PR that changes it to use ng-packagr.

@Gerros unfortunately the fix will be just to integrate the workaround. Usually one would just send issues upstream to dragula (code search on both repos reveals no use of global...

I already have push access. I am supposedly a maintainer. CI publish would make things a lot easier. (Side note: I have been a bit busy maintaining my own drag...

Also @valorkin, last publish was 1.5.0 from #636, but you don't appear to have pushed the commit changing the version number. Was there anything else you didn't push, or can...

**Actually, this can't be fixed in `ng2-dragula`. Seriously.** It would appear `dragula` gets loaded first, and tries to use window.global. So any polyfilling from inside the lib is too late....

Ref https://github.com/bevacqua/dragula/pull/534

> I'm leaving this issue open so people can find it, and adding a note to the docs in lieu of actually solving it. Guys. I’m leaving it open. Until...

Provide an `accepts` function when configuring a group. Dragula docs.

Please figure out how to do multiline code snippets on GitHub, we can't help if you show only rendered HTML. Hint: three backticks. Edit: done for you.

This looks like your problem. You're giving ng2-dragula undefined at some point. Often this is just uninitialized data.