Skip to content

Commit

Permalink
Merge pull request #22 from mchapman/patch-1
Browse files Browse the repository at this point in the history
Get rid of deprecation message
  • Loading branch information
nisaacson authored Feb 15, 2017
2 parents 122cb83 + b4d1b2b commit f003fbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/electronic.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var fs = require('fs');
var async = require('async');

var rimraf = require('rimraf');
var sys = require('sys');
var util = require('util');
var events = require('events');

var split = require('./split.js');
Expand All @@ -19,7 +19,7 @@ function Electronic(){
return new Electronic();
}
}
sys.inherits(Electronic, events.EventEmitter);
util.inherits(Electronic, events.EventEmitter);
module.exports = Electronic;


Expand Down Expand Up @@ -104,4 +104,4 @@ Electronic.prototype.process = function(pdf_path, options) {
});
});
});
}
}
4 changes: 2 additions & 2 deletions lib/raw.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* This module can handle multi-page pdf files
*/
var sys = require('sys');
var util = require('util');
var events = require('events');
var fs = require('fs');
var async = require('async');
Expand All @@ -19,7 +19,7 @@ function Raw(){
return new Raw();
}
}
sys.inherits(Raw, events.EventEmitter);
util.inherits(Raw, events.EventEmitter);
module.exports = Raw;


Expand Down

0 comments on commit f003fbf

Please sign in to comment.