emergency deabstraction
This commit is contained in:
parent
4a585cf91b
commit
a99d82f75b
|
|
@ -279,6 +279,11 @@
|
|||
function bound(number,lowerBound,upperBound) {
|
||||
return Math.min(upperBound,Math.max(lowerBound,number));
|
||||
};
|
||||
|
||||
//Emergency color wrapper
|
||||
rgbColorBound = function(color) {
|
||||
return bound(color,0,255);
|
||||
};
|
||||
|
||||
function addTwoNumbers(number1,number2) { //reducer
|
||||
return number1 + number2
|
||||
|
|
|
|||
Loading…
Reference in New Issue