# HG changeset patch
# User rougeronj
# Date 1434447502 -7200
# Node ID cfe440ade6d6cf410ea1ae8ccf0d843b6691bbac
# Parent 9bb08a2c244914e4fb3b4f99c0a365e027553e0d
new tests to check the correct behavior of adding custom templates
diff -r 9bb08a2c2449 -r cfe440ade6d6 client/data/custom_templates.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/data/custom_templates.js Tue Jun 16 11:38:22 2015 +0200
@@ -0,0 +1,40 @@
+var custom_templates = {}
+
+custom_templates['nodeeditor_audio'] = function(obj) {
+ obj || (obj = {});
+ var __t, __p = '', __e = _.escape, __j = Array.prototype.join;
+ function print() { __p += __j.call(arguments, '') }
+ with (obj) {
+ __p += '
\n';
+ if (node.uri && options.show_node_tooltip_uri) { ;
+ __p += '\n