Magento2: jQuery, Prototype and jQuery-migrate ... What the hell?

Created on 24 Oct 2017  路  2Comments  路  Source: magento/magento2

OK so I am facing a problem in a JavaScript plugin that am using all because jQuery is dispatching an update event that triggers Prototype. I don't really understand how on earth Magento is now version 2.2 and it still has Prototype. Why? Why not focusing on removing all the legacy code that no one wants to maintain any longer? Prototype is DEAD. Why do I have to carry its burden?

I am angry and this is a rant cause I am forced to develop on this piece of crap platform. I am fed up with the pace this project is moving on, it's becoming a pain to start my work every single day.

Format is not valid

Most helpful comment

Yeah right, add the tag and close the issue

All 2 comments

Yeah right, add the tag and close the issue

Hi @ahmadalfy, G1 Failed label is added by a bot :)

All PrototypeJS-based code was removed from places where it really matters prior to 2.0 GA release. There are still some places in Admin UI using PrototypeJS and I'm not aware if there are any plans to get rid of them or they will disappear naturally during work on corresponding admin features.

Pull requests from Community are always welcomed, you can refactor some PrototypeJS occurrences in Admin UI and such improvements will be merged with a big pleasure.

GitHub is intended for bug reports, please use Community Forums for other suggestions like improvements or feature requests.

Was this page helpful?
0 / 5 - 0 ratings