Skip to content

Commit

Permalink
Fill up day array
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuchs committed Jan 27, 2017
1 parent bcd677d commit 8cb1c73
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package/contents/code/hue.js
Original file line number Diff line number Diff line change
Expand Up @@ -2066,6 +2066,9 @@ function arrayFromMask (intMask) {
}
for (var nShifted = intMask, resultArray = []; nShifted;
resultArray.push(Boolean(nShifted & 1)), nShifted >>>= 1);
for (var i = resultArray.length; i < 7; ++i) {
resultArray.push(false)
}
return resultArray;
}

Expand Down

0 comments on commit 8cb1c73

Please sign in to comment.