Clean up no-unused-vars lint errors

This commit is contained in:
Kevin Sawicki 2016-01-19 14:49:40 -08:00
parent ccce284a5b
commit 70bcb0ac5a
36 changed files with 228 additions and 344 deletions

View file

@ -1,14 +1,11 @@
const fs = require('fs');
const path = require('path');
const timers = require('timers');
const Module = require('module');
process.atomBinding = function(name) {
var e, error;
try {
return process.binding("atom_" + process.type + "_" + name);
} catch (error) {
e = error;
if (/No such module/.test(e.message)) {
return process.binding("atom_common_" + name);
}