Skip to content

Commit 833e537

Browse files
committed
bug fix.
1 parent de16857 commit 833e537

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

chords.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<script src="/static/socket.io/node_modules/socket.io-client/socket.io.js"></script>
88

99
<!-- CSS -->
10-
<link href="http://getbootstrap.com/dist/css/bootstrap.min.css" rel="stylesheet">
10+
<link href="/static/bootstrap/dist/css/bootstrap.css" rel="stylesheet">
1111
<link href="torsk.css" rel="stylesheet">
1212

1313
<!-- JS -->

sequence.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<script src="/static/socket.io/node_modules/socket.io-client/socket.io.js"></script>
88

99
<!-- CSS -->
10-
<link href="http://getbootstrap.com/dist/css/bootstrap.min.css" rel="stylesheet">
10+
<link href="/static/bootstrap/dist/css/bootstrap.css" rel="stylesheet">
1111
<link href="torsk.css" rel="stylesheet">
1212

1313
<!-- JS -->

server.js

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,29 @@
22

33
'use strict';
44
var express = require('express'),
5-
app = express(),
6-
http = require('http').Server(app),
7-
io = require('socket.io')(http),
8-
url = require('url'),
9-
shell = require('shelljs'),
10-
11-
port = 3000,
12-
chords = {
13-
'C': ['C3', 'E3', 'G3'],
14-
'Dm': ['D3', 'F3', 'A3'],
15-
'Em': ['E3', 'G3', 'B3'],
16-
'F': ['F3', 'A3', 'C3'],
17-
'G': ['G3', 'B3', 'D3'],
18-
'Am': ['A3', 'C3', 'E3']
19-
},
20-
21-
drums = {
22-
'clap': __dirname + '/samples/clap-808.wav',
23-
'crash': __dirname + '/samples/crash-noise.wav',
24-
'hihat':__dirname + '/samples/hihat-electro.wav',
25-
'kick': __dirname + '/samples/kick-808.wav',
26-
'snare': __dirname + '/samples/snare-smasher.wav'
27-
};
5+
app = express(),
6+
http = require('http').Server(app),
7+
io = require('socket.io')(http),
8+
url = require('url'),
9+
shell = require('shelljs'),
10+
11+
port = 3000,
12+
chords = {
13+
'C': ['C3', 'E3', 'G3'],
14+
'Dm': ['D3', 'F3', 'A3'],
15+
'Em': ['E3', 'G3', 'B3'],
16+
'F': ['F3', 'A3', 'C3'],
17+
'G': ['G3', 'B3', 'D3'],
18+
'Am': ['A3', 'C3', 'E3']
19+
},
20+
21+
drums = {
22+
'clap': __dirname + '/samples/clap-808.wav',
23+
'crash': __dirname + '/samples/crash-noise.wav',
24+
'hihat':__dirname + '/samples/hihat-electro.wav',
25+
'kick': __dirname + '/samples/kick-808.wav',
26+
'snare': __dirname + '/samples/snare-smasher.wav'
27+
};
2828

2929
app.use('/static', express.static(__dirname + '/node_modules'));
3030
app.use('/torsk.css', express.static(__dirname + '/torsk.css'));
@@ -71,7 +71,7 @@ io.on('connection', function (socket){
7171

7272
socket.on('playSequence', function (msg) {
7373
console.log(msg);
74-
// todo play sequences.
74+
// todo play sequences.
7575
});
7676

7777
socket.on('disconnect', function() {

0 commit comments

Comments
 (0)