Update compliments.js

Changes to comments
This commit is contained in:
Drew Volz 2016-04-07 15:54:23 -05:00
parent 60b6aeff4b
commit f244537b89

View File

@ -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)
}
}