A tiny JavaScript framework that respects the separation of content, presentation and logic.
Like a lot of developers, I feel guilty sending a huge JavaScript payload to the user just to have a collapsable list somewhere on the website. jQuery is one hell of a framework and I always loved using it, but 9 out of 10 websites I used it for didn’t even use 10% of what jQuery is capable of. Users are loading the other 90% of jQuery for no good reason.
I needed to make it up to the internet and so I wrote Crumbl. Crumbl has all the methods I needed in those 9 out of 10 websites and was written with two big ideas in mind:
1. It had to follow jQuery’s way of writing JavaScript to make the transition for developers accustomed to jQuery as smooth as possible. This means, using the dollar sign notation to invoke Crumbl, using the same name and syntax for most methods and being able to chain functions together for fast coding.
2. It could only contain JavaScript-exclusive functionality. CSS methods, animation methods and the like have all been left out: predefined CSS classes and CSS3 animations can fully replace them.
The result is a nice, lightweight JavaScript base for your average website. Great to support all your simple website scripting like modal pop-ups, tabs, lightboxes, showcases and responsive navigations.
Your new post is loading...
I needed to make it up to the internet and so I wrote Crumbl. Crumbl has all the methods I needed in those 9 out of 10 websites and was written with two big ideas in mind:
1. It had to follow jQuery’s way of writing JavaScript to make the transition for developers accustomed to jQuery as smooth as possible. This means, using the dollar sign notation to invoke Crumbl, using the same name and syntax for most methods and being able to chain functions together for fast coding.
2. It could only contain JavaScript-exclusive functionality. CSS methods, animation methods and the like have all been left out: predefined CSS classes and CSS3 animations can fully replace them.
The result is a nice, lightweight JavaScript base for your average website. Great to support all your simple website scripting like modal pop-ups, tabs, lightboxes, showcases and responsive navigations.