Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
3pia
VISPA
VISPA web
Commits
ca32b8cf
Commit
ca32b8cf
authored
Oct 07, 2015
by
Fabian-Andree Heidemann
Browse files
- corretly import term.js via shim
- does NOT solve problem with 3rd level characters
parent
73fa3843
Changes
1
Hide whitespace changes
Inline
Side-by-side
vispa/extensions/terminal/static/js/extension.js
View file @
ca32b8cf
require
.
config
({
shim
:
{
"
./term
"
:
[]
}
});
define
([
"
vispa/extensions
"
,
"
vispa/views/center
"
,
...
...
@@ -117,7 +123,7 @@ define([
view
.
terminal_element
=
node
.
get
(
0
);
// create/open a new terminal session, returns id
view
.
GET
(
"
open
"
,
function
(
err
,
terminalid
)
{
require
([
"
./term
"
],
function
(
Terminal
)
{
require
([
"
./term
"
],
function
()
{
view
.
term
=
new
Terminal
({
cols
:
80
,
rows
:
24
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment