Browse Source

lint

v0.9.3-release
isaacs 12 years ago
parent
commit
8509073458
  1. 2
      lib/http.js
  2. 2
      lib/module.js
  3. 3
      lib/util.js

2
lib/http.js

@ -707,7 +707,7 @@ OutgoingMessage.prototype._renderHeaders = function() {
Object.defineProperty(OutgoingMessage.prototype, 'headersSent', {
configurable: true,
enumerable: true,
get: function () { return !!this._header; }
get: function() { return !!this._header; }
});

2
lib/module.js

@ -497,7 +497,7 @@ Module.runMain = function() {
Module._load(process.argv[1], null, true);
};
Module._initPaths = function () {
Module._initPaths = function() {
var isWindows = process.platform === 'win32';
if (isWindows) {

3
lib/util.js

@ -112,7 +112,8 @@ var error = exports.error = function(x) {
* @param {Object} obj The object to print out.
* @param {Object} opts Optional options object that alters the output.
*/
function inspect(obj, opts/* legacy: showHidden, depth, colors*/) {
/* legacy: obj, showHidden, depth, colors*/
function inspect(obj, opts) {
// default options
var ctx = {
seen: [],

Loading…
Cancel
Save