From 789b244526aa175e2907b92ad7fd3ddb6cc3224b Mon Sep 17 00:00:00 2001 From: Brian Date: Sun, 13 Nov 2016 18:11:06 -0500 Subject: [PATCH] Fixed README.md file. Example configuration now correctly has curly braces. --- README.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index c6aafb0..300db98 100644 --- a/README.md +++ b/README.md @@ -7,19 +7,21 @@ This module also allows you to make "selfie" photo snapshots with the camera and To use `camera` module, add it to the modules array in the `config/config.js` file with the following settings: ````javascript - -modules: [ +{ module: 'camera', position: 'top_center', - config: selfieInterval: 3, // Time interval in seconds before the photo will be taken. - emailConfig: { - service: 'Hotmail', // Email provider to use to send email with a photo. - auth: { - user: '', // Your email account - pass: '' // Your password for email account - } - } -] + config: { + selfieInterval: 3, // Time interval in seconds before the photo will be taken. + emailConfig: { + service: 'Hotmail', // Email provider to use to send email with a photo. + auth: { + user: '', // Your email account + pass: '' // Your password for email account + } + } + } + +} ````