From 8bcf5142f014a5ec2c79f2a884246dc925a306ac Mon Sep 17 00:00:00 2001 From: benweet Date: Sun, 14 Apr 2013 17:58:35 +0100 Subject: [PATCH] Support for templates --- index.html | 2 +- js/publisher.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index dadb120a..51d52063 100644 --- a/index.html +++ b/index.html @@ -401,7 +401,7 @@
+ for="textarea-settings-publish-template">Template (?)
diff --git a/js/publisher.js b/js/publisher.js index e3baa362..83338c2e 100644 --- a/js/publisher.js +++ b/js/publisher.js @@ -182,6 +182,12 @@ define(["jquery", "github-provider", "underscore"], function($) { publisher.publish(); } }); + + $(".tooltip-template").tooltip({ + title: ['Variables:\n', + 'documentTitle: the document title' + ].join("") + }); }; return publisher;