Permalink
Browse files

Fixing #3 — ERRORS_DIR leaking to global context

  • Loading branch information...
2 parents 936e9be + 90932d0 commit b0d0afc49ee918c431cf44a274c19bb2a7349c21 @corpix committed Jul 16, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 index.js
  2. +1 −1 package.json
View
@@ -6,7 +6,7 @@ var fs = require('fs'),
hasOwn = Object.prototype.hasOwnProperty,
ex = {};
-ERRORS_DIR = pjoin(__dirname, 'errors');
+var ERRORS_DIR = pjoin(__dirname, 'errors');
function Errors(app, config) {
config || (config = { });
View
@@ -2,7 +2,7 @@
"author": "Dmitry Moscowski <me@corpix.ru> (http://corpix.ru)",
"name": "express-errors",
"description": "Error handler middleware for express",
- "version": "0.3.0",
+ "version": "0.3.1",
"repository": {
"type": "git",
"url": "git://github.com/corpix/express-errors.git"

0 comments on commit b0d0afc

Please sign in to comment.