Rename command-line to console
This commit is contained in:
parent
f1b9c6ba9d
commit
6e5286ef10
9 changed files with 35 additions and 35 deletions
|
@ -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();
|
||||
}
|
||||
}
|
Reference in a new issue