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,]+/);
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user