summaryrefslogtreecommitdiff
path: root/ext/bg/yomichan.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-03-28 19:44:28 -0700
committerAlex Yatskov <alex@foosoft.net>2016-03-28 19:44:28 -0700
commita8c7a8602fff55df8279b9f56dfece875005a7fa (patch)
tree32dbe269d2ca9881b364ef7ded07122e8e5d1a9f /ext/bg/yomichan.js
parent149e22baacf41ef18adf62b5e6e58d7942c5beb4 (diff)
Use partials
Diffstat (limited to 'ext/bg/yomichan.js')
-rw-r--r--ext/bg/yomichan.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/bg/yomichan.js b/ext/bg/yomichan.js
index d845661f..8d989078 100644
--- a/ext/bg/yomichan.js
+++ b/ext/bg/yomichan.js
@@ -31,6 +31,8 @@ class Yomichan {
chrome.runtime.onMessage.addListener(this.onMessage.bind(this));
chrome.browserAction.onClicked.addListener(this.onBrowserAction.bind(this));
+
+ Handlebars.partials = Handlebars.templates;
}
onMessage(request, sender, callback) {