prototypejs / prototype

Prototype JavaScript framework
http://prototypejs.org/
Other
3.54k stars 639 forks source link

Minified versions to get the best of prototype with less conflict? #263

Closed Prescia closed 7 years ago

Prescia commented 9 years ago

I have been working with a prototypejs I build to totally avoid conflict with libraries such as jQuery or Bootstrap (I know, not the same thing). The thing is, I love how prototype is about coding, while "the rest" is just UI and fancy/lazy coding that sometimes you end up using.

The version I built from prototypejs keeps the OO support, hash and ajax, enabling me to create classes/objects with the prototypejs, plus hashes, and to boot the ajax feature that I preffer.

It's just a simple file, I don't see why not include. Plus, it's really small: 12Kb (not minified!) for the OO version, 34Kb for OO+Ajax.

I ended up using this more than the full prototype unless I want scriptaculous.

I have them on my github here: https://github.com/Prescia/Prototypejslt