diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-03-27 20:00:41 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-03-27 20:00:41 -0700 |
commit | a9fcc0cde6a09872e038e4aa4600d5cd80a71374 (patch) | |
tree | 3bd6e00e2c8eec94218636f554db2f2663141569 /ext/bg/templates.js | |
parent | 2bdb5763780e68889b355200a60844da83d3ede7 (diff) |
Switch to handlebars for templating
Diffstat (limited to 'ext/bg/templates.js')
-rw-r--r-- | ext/bg/templates.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/bg/templates.js b/ext/bg/templates.js new file mode 100644 index 00000000..72c9653b --- /dev/null +++ b/ext/bg/templates.js @@ -0,0 +1 @@ +!function(){var a=Handlebars.template,n=Handlebars.templates=Handlebars.templates||{};n["defs.html"]=a({1:function(a,n,s,e,l){var r,i=null!=n?n:{},o=s.helperMissing,p="function",t=a.escapeExpression;return'<div class="yomichan-def">\n <span class="yomichan-def-expression">'+t((r=null!=(r=s.expression||(null!=n?n.expression:n))?r:o,typeof r===p?r.call(i,{name:"expression",hash:{},data:l}):r))+'</span>\n <span class="yomichan-def-reading">'+t((r=null!=(r=s.reading||(null!=n?n.reading:n))?r:o,typeof r===p?r.call(i,{name:"reading",hash:{},data:l}):r))+'</span>\n <span class="yomichan-def-glossary">'+t((r=null!=(r=s.glossary||(null!=n?n.glossary:n))?r:o,typeof r===p?r.call(i,{name:"glossary",hash:{},data:l}):r))+"</span>\n</div>\n"},compiler:[7,">= 4.0.0"],main:function(a,n,s,e,l){var r;return null!=(r=s.each.call(null!=n?n:{},null!=n?n.defs:n,{name:"each",hash:{},fn:a.program(1,l,0),inverse:a.noop,data:l}))?r:""},useData:!0})}();
\ No newline at end of file |