Re:JavaScript is Web Assembly Language and that's OK.
by k__ on Friday May 24, 2013 @09:06AM
(#5762434)
I see... maybe if you get fluent enough with JS, you're just faster hacking such little scripts than finding a page, copy it and reassemble it.
Re:JavaScript is Web Assembly Language and that's OK.
by jiggy2011 on Friday May 24, 2013 @09:14AM
(#5762467)
Well jquery-ui solves this problem to a large extent, if you want something like say a datepicker you can do
$("#datepickerelement" ).datepicker();
and get the functionality you need in a nice reusable package without having to copy and paste giant chunks of code and pollute your global namespace.
Once you get into more complex applications it doesn't really make sense to do that anymore.