From e950b14e165b401dfacd46759066cc86fd9fb6fe Mon Sep 17 00:00:00 2001 From: Nathan Kunicki Date: Thu, 21 Jun 2018 18:32:42 +0100 Subject: [PATCH] More documentation --- DOCS.md | 2 +- README.md | 2 +- boosthub.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DOCS.md b/DOCS.md index 8a31e2e..102f3ef 100644 --- a/DOCS.md +++ b/DOCS.md @@ -173,7 +173,7 @@ Emits when a color sensor is activated. ### "tilt" (port, x, y) Emits when a tilt sensor is activated. -**Note**: If the event if fired from the Move Hub's inbuild tilt sensor, the special port "TILT" is used. +**Note**: If the event is fired from the Move Hub's in-built tilt sensor, the special port "TILT" is used. **Kind**: event emitted by [BoostHub](#BoostHub) diff --git a/README.md b/README.md index db7b3cc..05fcac3 100644 --- a/README.md +++ b/README.md @@ -213,7 +213,7 @@ Emits when a color sensor is activated. ### "tilt" (port, x, y) Emits when a tilt sensor is activated. -**Note**: If the event if fired from the Move Hub's inbuild tilt sensor, the special port "TILT" is used. +**Note**: If the event is fired from the Move Hub's in-built tilt sensor, the special port "TILT" is used. **Kind**: event emitted by [BoostHub](#BoostHub) diff --git a/boosthub.ts b/boosthub.ts index 8a5c063..56d9071 100644 --- a/boosthub.ts +++ b/boosthub.ts @@ -322,7 +322,7 @@ export class BoostHub extends Hub { /** * Emits when a tilt sensor is activated. * - * **Note**: If the event if fired from the Move Hub's inbuild tilt sensor, the special port "TILT" is used. + * **Note**: If the event is fired from the Move Hub's in-built tilt sensor, the special port "TILT" is used. * @event BoostHub#tilt * @param {string} port * @param {number} x