Permalink
Browse files

Tweaks to support shift to package.

  • Loading branch information...
1 parent 61df266 commit 45a10d5109ca95350e7a2cc187f98aa35442f951 @eee-c committed Jun 22, 2011
Showing with 8 additions and 4 deletions.
  1. +5 −2 package.json
  2. +3 −2 spdy.js
View
@@ -12,6 +12,9 @@
"engines": {
"node": "~v0.5.0-pre"
},
- "dependencies": {},
+ "dependencies": {
+ "express": ">= 2.3.11",
+ "connect-spdy": ">= 0.0.0"
+ },
"devDependencies": {}
-}
+}
View
@@ -10,8 +10,9 @@
*/
var connect = require('connect-spdy')
- , HTTPServer = require('./http')
- , spdy = require('spdy')
+ , express = require('express')
+ , HTTPServer = express.HTTPServer
+ , spdy = require('node-spdy')
, spdy_res = spdy.Response.prototype
, http = require('http')
, res = http.ServerResponse.prototype;

0 comments on commit 45a10d5

Please sign in to comment.