Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
c408d896
Commit
c408d896
authored
Apr 23, 2012
by
Jacob Thornton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rewrite server.js, fix travis
parent
c896a182
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
15 deletions
+10
-15
js/tests/pid.txt
js/tests/pid.txt
+0
-1
js/tests/server.js
js/tests/server.js
+6
-10
package.json
package.json
+4
-4
No files found.
js/tests/pid.txt
deleted
100644 → 0
View file @
c896a182
1520
\ No newline at end of file
js/tests/server.js
View file @
c408d896
...
...
@@ -4,15 +4,11 @@
*/
var
connect
=
require
(
'
connect
'
)
,
args
=
process
.
argv
.
slice
(
2
)
,
http
=
require
(
'
http
'
)
,
fs
=
require
(
'
fs
'
)
,
folder
=
'
/../../
'
,
port
=
'
3000
'
,
app
=
connect
()
.
use
(
connect
.
static
(
__dirname
+
'
/../../
'
));
var
server
=
connect
.
createServer
(
connect
.
static
(
__dirname
+
folder
)
).
listen
(
port
)
http
.
createServer
(
app
).
listen
(
3000
);
fs
.
writeFileSync
(
__dirname
+
'
/pid.txt
'
,
process
.
pid
,
'
utf-8
'
)
\ No newline at end of file
console
.
log
(
"
Server started on port %s in %s
"
,
port
,
folder
)
\ No newline at end of file
package.json
View file @
c408d896
...
...
@@ -17,9 +17,9 @@
}
]
,
"devDependencies"
:
{
"
uglify-js
"
:
"
*
"
,
"
jshint
"
:
"
*
"
,
"
recess
"
:
"
*
"
,
"
connect
"
:
"
*
"
"
uglify-js
"
:
"
1.2.6
"
,
"
jshint
"
:
"
0.6.1
"
,
"
recess
"
:
"
1.0.3
"
,
"
connect
"
:
"
2.1.3
"
}
}
\ No newline at end of file
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