Feature: Remove handlebars as deps

This commit is contained in:
winkidney
2019-03-18 18:03:31 +08:00
committed by Isaac Bythewood
parent 99ab3433ef
commit 5622525bf2
2 changed files with 0 additions and 8 deletions

View File

@@ -42,13 +42,6 @@ $.ajaxSetup({
}
});
function renderTemplate(templateId, context) {
var template = Handlebars.compile($(templateId).html());
return template(context);
}
function cleanTags(tags) {
if (typeof tags === 'string' && tags.length > 0) {
tags = tags.split(/[\s,]+/);