Skip to content
Snippets Groups Projects
Commit 1a55abf4 authored by Sean McArthur's avatar Sean McArthur
Browse files

remove last instances of EJS on client-side

manage acct page uses a template, but has no
need for EJS to parse it, since it's plain HTML.
parent 5fb87077
No related branches found
No related tags found
No related merge requests found
......@@ -211,8 +211,7 @@ BrowserID.manageAccount = (function() {
var self=this,
oncomplete = options.ready,
template = new EJS({ text: dom.getInner("#templateManage") }),
manage = template.render({});
manage = dom.getInner("#templateManage") });
dom.insertAfter(manage, "#hAlign");
......
......@@ -19,6 +19,11 @@
</div>
</div>
<!--
These "templates" below aren't available as EJS client-side, since all
EJS tags are processed when this view is served by the server.
-->
<script type="text/html" id="templateUser">
<li class="identity cf" id="{{ email.replace('@', '_').replace('.', '_') }}">
<div class="email">{{ email }}</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment