Why does Magento keep the old version of Prototype.js?

Magento latest version 1.9.0.1 seems to use prototype.js, this is 1.7 from 2010

  • JavaScript prototype structure, version 1.7
  • (c) 2005-2010 Sam Stevenson

Why aren't they using version 1.7.2 released in 2014.

Personally, I've updated the prototype on my website and everything seems to work great, even better.

Do you think the latest prototype might have some incompatibility with some Magento materials?

+3


source to share


2 answers


You forget about it engineers: "If it doesn't break, don't fix it." As long as there is something that can only be fixed by updating, then there is no point. Retrofitting means additional testing for the rest of the entire application and must be very thorough to test enterprise software.



+5


source


I tried to manually load 1.7.2 into one of my Magento projects, but got errors in Chrome for mobile at checkout. It also seems like 1.7.2 is very different from 1.7. Now Magento is moving to jQuery, they include jQuery in their enterprise version, they use it at 1.9 level. So I think all the new functionality will be written mostly in jQuery and it might be a while when they will completely remove Prototype as a purely supported library.



+1


source







All Articles