angular-zeroclipboard icon indicating copy to clipboard operation
angular-zeroclipboard copied to clipboard

doesn't play nice with require.js

Open jpuffer opened this issue 9 years ago • 1 comments

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.

jpuffer avatar Jul 20 '15 22:07 jpuffer

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.

lisposter avatar Jul 22 '15 16:07 lisposter