From 2de9123cfdc7e420af60d4fcae3fc6679c0e0318 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 15 Apr 2015 08:17:10 -0700 Subject: [PATCH] Update power-monitor.md --- docs/api/power-monitor.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/api/power-monitor.md b/docs/api/power-monitor.md index 9273e13d9a5..4643110f35b 100644 --- a/docs/api/power-monitor.md +++ b/docs/api/power-monitor.md @@ -8,10 +8,9 @@ An example is: ```javascript var app = require('app'); -var powerMonitor = require('power-monitor'); app.on('ready', function() { - powerMonitor.on('suspend', function() { + require('power-monitor').on('suspend', function() { console.log('The system is going to sleep'); }); });