javascript - Does Handlebars require jQuery -
i'm trying build handlebars app using javascript. i've noticed in there documentation, initialize using:
var source = $("#entry-template").html();
is step required or there way around using native javascript?
no, doesn't require jquery.
only reason why people prefer jquery because of ease of use jquery perform various operations. saves lots of time & additional effort.
using handlebars plain javscript require effort. if have enough time should try out things plain javascript.
below given links might of understand things better -
http://code.tutsplus.com/tutorials/handlebarsjs-a-behind-the-scenes-look--net-32678
Comments
Post a Comment