Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[v0.6] Remove `require.paths` and `sys` from library

  • Loading branch information...
commit 88e66db969293d71d54de4ee41569fb5c1ae1599 1 parent e41e14d
@mmalecki mmalecki authored
Showing with 5 additions and 8 deletions.
  1. +5 −8 lib/journey.js
View
13 lib/journey.js
@@ -1,16 +1,13 @@
var path = require('path');
-require.paths.unshift(__dirname);
-
-var sys = require("sys"),
- http = require("http"),
- events = require('events'),
- fs = require("fs"),
- url = require('url');
+var http = require("http"),
+ events = require('events'),
+ fs = require("fs"),
+ url = require('url');
var querystring = require('querystring');
-var errors = require('journey/errors');
+var errors = require('./journey/errors');
// Escape RegExp characters in a string
var escapeRe = (function () {
Please sign in to comment.
Something went wrong with that request. Please try again.