rm-emoji-picker icon indicating copy to clipboard operation
rm-emoji-picker copied to clipboard

Load without building webpack

Open k-timoshenko opened this issue 7 years ago • 3 comments

Hi. Is there any way to load plugin just in browser without webpack? I'm trying:

var picker = new EmojiPicker();

but got EmojiPicker is not defined

I figure out, that lib is accessible via window.default, but anyway got error: (0 , g.default) is not a function in:

key: "_getWrapper", value: function () {
    return (0, g.default)('<span class = "emoji-char-wrapper ' + this.hover_color + '" data-name="' + this.full_name + '" data-category="' + this.category + '"></span>')
}

k-timoshenko avatar Oct 23 '17 13:10 k-timoshenko

+1 on this, from out looking it, rm-emoji-picker seems like the best out there, I just don't understand the dependency on webpack though, as a backend dev with modest frontend experience, it's been hard just getting this started in an existing Ember.js app.

The-Don-Himself avatar Nov 14 '17 08:11 The-Don-Himself

👍 +1 , It is painful to use webpack. I'm thinking in rebuild this code to remove all this dependencies (including jQuery). Anyone?

tcha-tcho avatar Mar 13 '18 23:03 tcha-tcho

Any ideas ?

bfic avatar Jun 11 '18 10:06 bfic