mirror of
https://github.com/pinry/pinry.git
synced 2025-11-17 18:30:39 +01:00
Feature: Remove handlebars as deps
This commit is contained in:
committed by
Isaac Bythewood
parent
99ab3433ef
commit
5622525bf2
@@ -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,]+/);
|
||||
|
||||
Reference in New Issue
Block a user