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,]+/);

View File

@@ -105,7 +105,6 @@
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="https://unpkg.com/jquery@2.2.4/dist/jquery.min.js"></script>
<script src="https://unpkg.com/bootstrap@3.3.6/dist/js/bootstrap.min.js"></script>
<script src="https://unpkg.com/handlebars@4.0.6/dist/handlebars.min.js"></script>
<script src="https://unpkg.com/dropzone@4.3.0/dist/min/dropzone.min.js"></script>
{% compress js %}
<script src="{% static "js/helpers.js" %}"></script>