BigW Consortium Gitlab

Only import template function from underscore

parent fbed2909
/* global Flash */ /* global Flash */
import sqljs from 'sql.js'; import sqljs from 'sql.js';
import _ from 'underscore'; import { template as _template } from 'underscore';
import Spinner from '../../spinner'; import Spinner from '../../spinner';
class BalsamiqViewer { class BalsamiqViewer {
...@@ -94,7 +94,7 @@ class BalsamiqViewer { ...@@ -94,7 +94,7 @@ class BalsamiqViewer {
} }
} }
BalsamiqViewer.PREVIEW_TEMPLATE = _.template(` BalsamiqViewer.PREVIEW_TEMPLATE = _template(`
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"><%- name %></div> <div class="panel-heading"><%- name %></div>
<div class="panel-body"> <div class="panel-body">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment