Commit 03dd288e authored by yann300's avatar yann300

use yoyo in tabs

parent 1829f908
......@@ -2,6 +2,7 @@
var $ = require('jquery')
var remix = require('ethereum-remix')
var yo = require('yo-yo')
var EventManager = remix.lib.EventManager
/*
......@@ -98,7 +99,7 @@ class FileManager {
$filesEl.find('.file').remove()
for (var file in this.tabbedFiles) {
$filesEl.append($('<li class="file"><span class="name">' + file + '</span><span class="remove"><i class="fa fa-close"></i></span></li>'))
$filesEl.append(yo`<li class="file"><span class="name">${file}</span><span class="remove"><i class="fa fa-close"></i></span></li>`)
}
var currentFileOpen = !!this.opt.config.get('currentFile')
......
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