Skip to content

Commit

Permalink
Removed local dependency on sys, still exists in some modules though
Browse files Browse the repository at this point in the history
  • Loading branch information
cliftonc committed Apr 7, 2012
1 parent 6e45e52 commit 279ad34
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 14 deletions.
1 change: 0 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ var rootpath = process.cwd() + '/',
fs = require('fs'),
express = require('express'),
mongoose = require('mongoose'),
sys = require('sys'),
nodepath = require('path'),
form = require('connect-form'),
stylus = require('stylus'),
Expand Down
5 changes: 2 additions & 3 deletions lib/Event.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
var rootpath = process.cwd() + '/',
path = require('path'),
sys = require('sys'),
util = require('util'),
events = require('events'),
app = require(path.join(rootpath, 'app')),
Expand Down Expand Up @@ -397,8 +396,8 @@ function RequestEventListener() {
/**
* Inherits
*/
sys.inherits(ModuleInitEventEmitter, events.EventEmitter);
sys.inherits(ModuleRequestEventEmitter, events.EventEmitter);
util.inherits(ModuleInitEventEmitter, events.EventEmitter);
util.inherits(ModuleRequestEventEmitter, events.EventEmitter);


/**
Expand Down
3 changes: 1 addition & 2 deletions lib/Hook.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
/**
* Includes
*/
var sys = require('sys'),
util = require('util'),
var util = require('util'),
Hook = require('hook.io').Hook;

exports = module.exports = {
Expand Down
1 change: 0 additions & 1 deletion lib/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*/
var rootpath = process.cwd() + '/',
path = require('path'),
sys = require('sys'),
utils = require('connect').utils,
merge = utils.merge,
calipso = require(path.join(rootpath, 'lib/calipso')),
Expand Down
3 changes: 1 addition & 2 deletions lib/calipso.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ var app,
rootpath = process.cwd(),
path = require('path'),
events = require('events'),
sys = require('sys'),
mongoStore = require(path.join(rootpath, 'support/connect-mongodb')),
mongoose = require('mongoose'),
calipso = exports = module.exports = {
Expand All @@ -44,7 +43,7 @@ var app,
path: require('path'),
express: require('express'),
step: require('step'),
sys: require('sys'),
util: require('util'),
mongoose: require('mongoose'),
url: require('url'),
ejs: require('ejs'),
Expand Down
2 changes: 0 additions & 2 deletions lib/cli/Download.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ var rootpath = process.cwd() + '/',
moduleCli = require(path.join(rootpath, 'lib/cli/Modules')),
themeCli = require(path.join(rootpath, 'lib/cli/Themes')),
exec = require('child_process').exec,
sys = require('sys'),
colors = require('colors'),
sys = require('sys'),
util = require('util'),
zip = require('zipfile'),
fs = require('fs'),
Expand Down
1 change: 0 additions & 1 deletion lib/cli/Modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ var rootpath = process.cwd() + '/',
path = require('path')
calipso = require(path.join(rootpath, 'lib/calipso')),
exec = require('child_process').exec,
sys = require('sys'),
util = require('util'),
colors = require('colors'),
semver = require('semver'),
Expand Down
1 change: 0 additions & 1 deletion lib/cli/RepoApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
var rootpath = process.cwd() + '/',
path = require('path')
calipso = require(path.join(rootpath, 'lib/calipso')),
sys = require('sys'),
colors = require('colors');


Expand Down
1 change: 0 additions & 1 deletion lib/cli/Themes.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ var rootpath = process.cwd() + '/',
path = require('path')
calipso = require(path.join(rootpath, 'lib/calipso')),
exec = require('child_process').exec,
sys = require('sys'),
colors = require('colors'),
semver = require('semver'),
download = require('lib/cli/Download');
Expand Down

0 comments on commit 279ad34

Please sign in to comment.