Use native_mate to simplify screen api.

This commit is contained in:
Cheng Zhao 2014-04-15 16:25:39 +08:00
parent c25911db0d
commit 16e3397c32
3 changed files with 60 additions and 109 deletions

View file

@ -1,3 +1 @@
{Screen} = process.atomBinding 'screen'
module.exports = new Screen
module.exports = process.atomBinding 'screen'