提交 8510fc87 编写于 作者: C Constance Okoghenun

Removed terminal webpack bundle tag

上级 98fecb5f
import initTerminal from '~/terminal/';
document.addEventListener('DOMContentLoaded', initTerminal);
...@@ -6,4 +6,4 @@ import './terminal'; ...@@ -6,4 +6,4 @@ import './terminal';
window.Terminal = Terminal; window.Terminal = Terminal;
$(() => new gl.Terminal({ selector: '#terminal' })); export default () => new gl.Terminal({ selector: '#terminal' });
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
- content_for :page_specific_javascripts do - content_for :page_specific_javascripts do
= stylesheet_link_tag "xterm/xterm" = stylesheet_link_tag "xterm/xterm"
= webpack_bundle_tag("terminal")
%div{ class: container_class } %div{ class: container_class }
.top-area .top-area
......
...@@ -45,7 +45,6 @@ function generateEntries() { ...@@ -45,7 +45,6 @@ function generateEntries() {
const manualEntries = { const manualEntries = {
monitoring: './monitoring/monitoring_bundle.js', monitoring: './monitoring/monitoring_bundle.js',
mr_notes: './mr_notes/index.js', mr_notes: './mr_notes/index.js',
terminal: './terminal/terminal_bundle.js',
common: './commons/index.js', common: './commons/index.js',
common_vue: './vue_shared/vue_resource_interceptor.js', common_vue: './vue_shared/vue_resource_interceptor.js',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册