Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript build #247

Closed
wants to merge 11 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ Makefile.gyp
example/*.log
docs/
npm-debug.log
dist/
File renamed without changes.
4 changes: 2 additions & 2 deletions demo/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ var pty = require('pty.js');
var terminals = {},
logs = {};

app.use('/src', express.static(__dirname + '/../src'));
app.use('/addons', express.static(__dirname + '/../addons'));
app.use('/css', express.static(__dirname + '/../css'));
app.use('/dist', express.static(__dirname + '/../dist'));

app.get('/', function(req, res){
res.sendFile(__dirname + '/index.html');
Expand Down
12 changes: 6 additions & 6 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<html>
<head>
<title>xterm.js demo</title>
<link rel="stylesheet" href="../src/xterm.css" />
<link rel="stylesheet" href="../addons/fullscreen/fullscreen.css" />
<link rel="stylesheet" href="../css/xterm.css" />
<link rel="stylesheet" href="../dist/addons/fullscreen/fullscreen.css" />
<link rel="stylesheet" href="style.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/fetch/1.0.0/fetch.min.js"></script>
<script src="../src/xterm.js" ></script>
<script src="../addons/attach/attach.js" ></script>
<script src="../addons/fit/fit.js" ></script>
<script src="../addons/fullscreen/fullscreen.js" ></script>
<script src="../dist/xterm.js" ></script>
<script src="../dist/addons/attach/attach.js" ></script>
<script src="../dist/addons/fit/fit.js" ></script>
<script src="../dist/addons/fullscreen/fullscreen.js" ></script>
</head>
<body>
<h1>xterm.js: xterm, in the browser</h1>
Expand Down
2 changes: 1 addition & 1 deletion demo/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function createTerminal() {
while (terminalContainer.children.length) {
terminalContainer.removeChild(terminalContainer.children[0]);
}
term = new Terminal({
term = new Xterm.Terminal({
cursorBlink: optionElements.cursorBlink.checked
});
term.on('resize', function (size) {
Expand Down
Loading