From f244537b89d559a7b27b522bf38491b37955eb1b Mon Sep 17 00:00:00 2001 From: Drew Volz Date: Thu, 7 Apr 2016 15:54:23 -0500 Subject: [PATCH] Update compliments.js Changes to comments --- js/compliments/compliments.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/compliments/compliments.js b/js/compliments/compliments.js index 04953fba..6c251a48 100644 --- a/js/compliments/compliments.js +++ b/js/compliments/compliments.js @@ -22,9 +22,9 @@ compliments.updateCompliment = function () { var hour = moment().hour(); - // In the followign if statement we use .slice() on the + // In the following if statement we use .slice() on the // compliments array to make a copy by value. - // This way the original array of compliments stays in tact. + // This way the original array of compliments stays intact. if (hour >= 3 && hour < 12) { // Morning compliments @@ -67,4 +67,4 @@ compliments.init = function () { this.updateCompliment(); }.bind(this), this.updateInterval) -} \ No newline at end of file +}