Permalink
Browse files

follow node's renaming of "sys" to "util"

  • Loading branch information...
1 parent 755850c commit 0f187f26d13e79604ad7d05f1ecca12c70819885 @clausreinke committed Mar 12, 2012
Showing with 12 additions and 12 deletions.
  1. +1 −1 bin/dr.js
  2. +1 −1 bin/jsctags.js
  3. +1 −1 bin/rn.js
  4. +1 −1 js/tiki.js
  5. +2 −2 lib/formidable/incoming_form.js
  6. +1 −1 lib/jsctags/ctags/nativefn.js
  7. +1 −1 lib/jsctags/getopt.js
  8. +1 −1 lib/jsctags/log.js
  9. +1 −1 lib/jsctags/paperboy.js
  10. +1 −1 serve.js
  11. +1 −1 test/readtags.js
View
@@ -44,7 +44,7 @@ var libdir = path.join(cwd, "..", "lib");
require.paths.unshift(path.join(libdir, "jsctags"));
-var sys = require('sys');
+var sys = require('util');
var _ = require('underscore')._;
var http = require('http');
var url = require('url');
View
@@ -41,7 +41,7 @@ var path = require('path');
var _ = require('underscore')._;
var fs = require('fs');
-var sys = require('sys');
+var sys = require('util');
var ctags = require('ctags');
var getopt = require('getopt').getopt;
var log = require('log');
View
@@ -44,7 +44,7 @@ var libdir = path.join(cwd, "..", "lib");
require.paths.unshift(path.join(libdir, "jsctags"));
-var sys = require('sys');
+var sys = require('util');
var _ = require('underscore')._;
var getTags = require('../lib/cfa2/jscfa').getTags;
var parse = require('../narcissus/lib/parser').parse;
View
@@ -166,7 +166,7 @@ var DEBUG = function() {
exports.debug = function() {
var msg = Array.prototype.join.call(arguments, '');
- require('sys').debug(msg);
+ require('util').debug(msg);
};
// ..........................................................
@@ -1,6 +1,6 @@
if (global.GENTLY) require = GENTLY.hijack(require);
-var sys = require('sys')
+var sys = require('util')
, path = require('path')
, WriteStream = require('fs').WriteStream
, MultipartParser = require('./multipart_parser').MultipartParser
@@ -340,4 +340,4 @@ IncomingForm.prototype._maybeEnd = function() {
}
this.emit('end');
-};
+};
@@ -38,7 +38,7 @@
// Functions important for export detection that that we try to automatically
// detect and implement.
-var sys = require('sys');
+var sys = require('util');
// jQuery's "extend".
function extend(interp, ctx, thisObject, args) {
@@ -40,7 +40,7 @@
* Getopt::Long.
*/
-var sys = require('sys');
+var sys = require('util');
exports.getopt = exports.GetOptions = function() {
var table = {};
View
@@ -35,7 +35,7 @@
*
* ***** END LICENSE BLOCK ***** */
-var sys = require('sys');
+var sys = require('util');
function log(level, args) {
if (level >= exports.level) {
@@ -1,5 +1,5 @@
var
- sys = require('sys'),
+ sys = require('util'),
events = require('events'),
fs = require('fs'),
url = require('url'),
View
@@ -38,7 +38,7 @@
require.paths.unshift('./lib/jsctags');
var http = require('http'), paperboy = require('paperboy');
-var sys = require('sys');
+var sys = require('util');
http.createServer(function(req, resp) {
paperboy.deliver(__dirname, req, resp).
View
@@ -5,7 +5,7 @@ var path = require('path');
require.paths.unshift(path.join(path.dirname(argv[1]), "..", "lib",
"jsctags"));
-var ctags = require('ctags'), fs = require('fs'), sys = require('sys');
+var ctags = require('ctags'), fs = require('fs'), sys = require('util');
var tags = new ctags.Tags();
var str = fs.readFileSync(argv[2]);

0 comments on commit 0f187f2

Please sign in to comment.