Skip to content

Commit

Permalink
aparently require isn't in global... how odd
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ ONeal committed Oct 3, 2012
1 parent 3db65a7 commit 8b1191e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/pakmanager-loader.js
Expand Up @@ -2,7 +2,7 @@
(function () {
"use strict";

var oldRequire = global.require
var oldRequire = require
, modules = {}
;

Expand Down Expand Up @@ -36,6 +36,7 @@
return mod;
}

console.error(modulename);
throw err;
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"author": "AJ ONeal <coolaj86@gmail.com> (http://coolaj86.info)",
"name": "pakmanager",
"description": "A demo package manager using the pakman API.",
"version": "0.11.2",
"version": "0.11.3",
"homepage": "https://github.com/coolaj86/node-pakman",
"repository": {
"type": "git",
Expand Down

0 comments on commit 8b1191e

Please sign in to comment.