Skip to content

Commit

Permalink
sanityze require
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstrat committed Jan 8, 2012
1 parent e639e04 commit 482e448
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -7,4 +7,3 @@ Jakefile
jasmine.json
node_modules/
public/
spec/*
2 changes: 1 addition & 1 deletion lib/jasmine-runner.js
Expand Up @@ -2,7 +2,7 @@
require.paths.unshift(__dirname);
var exec = require('child_process').exec,
web = require('webworker'),
Configuration = require('config').Configuration,
Configuration = require('./config').Configuration,
Browser = require(__dirname+'/browser').Browser,
messages = {
initialized:[
Expand Down
1 change: 0 additions & 1 deletion lib/public/control-frame.js
Expand Up @@ -28,7 +28,6 @@ jasmine.WebsocketReporter.prototype = {
},

_sendReport : function(report) {
console.log(report);
this.remotesock.emit('report', report);
},

Expand Down
3 changes: 1 addition & 2 deletions lib/reporters.js
@@ -1,7 +1,6 @@
(function(ctx){
require.paths.unshift(__dirname);
var colors = require('colors'),
NotifierReporter = require('notify').NotifierReporter,
NotifierReporter = require(__dirname+'/notify').NotifierReporter,
log = console.log;

var ConsoleReporter = function(config) {
Expand Down
9 changes: 4 additions & 5 deletions lib/server.js
@@ -1,8 +1,7 @@
require.paths.unshift(__dirname);
var server = require('testserver')
reporters = require('reporters'),
app = require('ServerRoutes'),
runner = require('TestRunner'),
var server = require(__dirname+'/testserver')
reporters = require(__dirname+'/reporters'),
app = require(__dirname+'/ServerRoutes'),
runner = require(__dirname+'/TestRunner'),
emitter = new(require('events').EventEmitter),
defaultConfig = {server:{port:8124}};

Expand Down

0 comments on commit 482e448

Please sign in to comment.