Skip to content

Commit

Permalink
Fix leaks in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
camshaft committed Dec 11, 2012
1 parent 028e207 commit 70871a4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/express/app.js
Expand Up @@ -2,7 +2,7 @@
var express = require("express")
, stack = require("./stack");

app = express();
var app = express();

// Initialize the pack
var pack = stack({
Expand Down
2 changes: 1 addition & 1 deletion examples/express/stack.js
@@ -1,6 +1,6 @@

var stack = require("../../")
express = require("express");
, express = require("express");

module.exports = function(config) {
if (!config) config = {};
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/app.js
Expand Up @@ -2,7 +2,7 @@
var connect = require("connect")
, pack = require("./stack")();

app = connect();
var app = connect();

// Insert some custom middleware
pack.useBefore('favicon', connect.logger("dev"));
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/stack.js
@@ -1,6 +1,6 @@

var stack = require("../../")
connect = require("connect");
, connect = require("connect");

module.exports = function(config) {
if (!config) config = {};
Expand Down

0 comments on commit 70871a4

Please sign in to comment.