diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-02 10:08:49 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-02 10:08:49 +0900 |
commit | 044f24efb64ec52dfdb02e0e0807bc4545c4a21c (patch) | |
tree | 1cb621bd8ea538e128a7263012d3c8bc077e2e0d /src/command-line/command-line-frame.js | |
parent | f1b9c6ba9d33fe1927c4855d4981d88ad73d5818 (diff) | |
parent | 02ea10a357955752dda4c72c49de2340997c9818 (diff) |
Merge branch 'error-line'
Diffstat (limited to 'src/command-line/command-line-frame.js')
-rw-r--r-- | src/command-line/command-line-frame.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/command-line/command-line-frame.js b/src/command-line/command-line-frame.js deleted file mode 100644 index 3f1dda4..0000000 --- a/src/command-line/command-line-frame.js +++ /dev/null @@ -1,19 +0,0 @@ -import './command-line-frame.scss'; - -export default class CommandLineFrame { - constructor(win, initial = '') { - let url = browser.runtime.getURL('build/command-line.html') + - '#' + encodeURIComponent(initial); - - let element = window.document.createElement('iframe'); - element.src = url; - element.className = 'vimvixen-command-line-frame'; - win.document.body.append(element); - - this.element = element; - } - - remove() { - this.element.remove(); - } -} |