doesn't play nice with require.js
Opened this issue · 1 comments
jpuffer commented
When using require to load modules, this fails because zeroclipboard is not put onto the window object.
see https://github.com/zeroclipboard/zeroclipboard/blob/master/dist/ZeroClipboard.js#L2577
to fix, I added window.ZeroClipboard = require('zeroclipboard');
in my app config; but that doesn't seem ideal.
lisposter commented
thank you for reporting this, I will take a look for it. But I have no time these days, I will check it in the weekend.