Grapesjs: [Bounty] Remove jQuery dependencies

Created on 21 Sep 2017  路  18Comments  路  Source: artf/grapesjs

Use native javascript, no jQuery libraries

Bountysource

bountysource outdated

Most helpful comment

@Geczy npm updated

All 18 comments

@artf any word? 馃

Unfortunately, it's taking more than I expected, especially with regressions and some issue with spectrum (which is a JQuery plugin), by the way, it's almost done just need to refactor few other modules and then I'll release the rc, here is the branch
https://github.com/artf/grapesjs/tree/no-jquery

@artf how can I help you to achieve that? I cloned the repo and ran the tests against the no-jquery branch and some were skipped but the rest of them were fine

thanks @arthuralmeidap I'd really appreciate any feedback when I'll publish a new release

Hi guys, I've just published the first RC (npm install [email protected]) which you can try online here http://grapesjs.com/demo-no-jq.html

Few notes about this update:
You don't need jQuery anymore but you can still use some of its API, which is possible thanks to the integration of https://github.com/kenwheeler/cash (An absurdly small jQuery alternative for modern browsers - 3.71 kb). With this approach, I break less stuff and still leave the possibility to manage the DOM easily (view.$el.find(...))

Any feedback is highly welcomed thk

Hi @Geczy if the demo seems ok for you (or for anyone) I'll release it officially the next week

@artf , the next release will come with all bug fixes?

Gave it a test and it seems to be working in our environment! Great job

@arthuralmeidap everything done until the latest release will be merged into this branch (plan to do it today 馃槵)

@artf , thanks! Let me know if I can help you in anything!

Ok it's out https://github.com/artf/grapesjs/releases/tag/v0.12.5 馃帀
All demos are updated too

@artf grapesjs still bundling jquery https://github.com/artf/grapesjs/blob/dev/package.json#L20

oops! forgot to remove it, will update soon

@Geczy npm updated

@artf Just wanted to say amazing job on this. Excellent Work!

thanks Dan

@artf Amazing work!

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ionic666 picture ionic666  路  3Comments

faizansaiyed picture faizansaiyed  路  3Comments

andre2 picture andre2  路  3Comments

alibouaziz picture alibouaziz  路  3Comments

kosirm picture kosirm  路  3Comments