Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load without building webpack #45

Open
k-timoshenko opened this issue Oct 23, 2017 · 3 comments
Open

Load without building webpack #45

k-timoshenko opened this issue Oct 23, 2017 · 3 comments

Comments

@k-timoshenko
Copy link

k-timoshenko commented Oct 23, 2017

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 k-timoshenko changed the title Load without npm Load without building webpack Oct 23, 2017
@The-Don-Himself
Copy link

+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.

@tcha-tcho
Copy link

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

@bfic
Copy link

bfic commented Jun 11, 2018

Any ideas ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants