Spaghetti Tom
Tuesday, December 17, 2019
underscore.js has "templates" which seem like glorified string formatting to me
See
this
for stuff like this:
var t1 = _.template("Hello <%=user%>!");
t1({ user: "<Jane>" })
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment