Wire it up

This commit is contained in:
Paul Betts 2016-05-13 17:33:57 -07:00
parent a7ac7ba4c1
commit f4538daa0a
3 changed files with 8 additions and 0 deletions

View file

@ -44,6 +44,7 @@
'lib/common/api/deprecations.js', 'lib/common/api/deprecations.js',
'lib/common/api/exports/electron.js', 'lib/common/api/exports/electron.js',
'lib/common/api/native-image.js', 'lib/common/api/native-image.js',
'lib/common/api/process-stats.js',
'lib/common/api/shell.js', 'lib/common/api/shell.js',
'lib/common/init.js', 'lib/common/init.js',
'lib/common/reset-search-paths.js', 'lib/common/reset-search-paths.js',

View file

@ -21,6 +21,12 @@ exports.defineProperties = function (exports) {
return require('../native-image') return require('../native-image')
} }
}, },
processStats: {
enumerable: true,
get: function () {
return require('../process-stats')
}
},
shell: { shell: {
enumerable: true, enumerable: true,
get: function () { get: function () {

View file

@ -0,0 +1 @@
module.exports = process.atomBinding('process_stats')