Updated to the latest iteration of the sales tracking app; Added some temporary photos for UBS.

This commit is contained in:
Wynne Crisman
2016-10-03 11:00:49 -07:00
parent 105e657b35
commit 20ffd82abb
25 changed files with 7709 additions and 156 deletions

View File

@@ -0,0 +1,19 @@
//Make sure we have an Array.reduce() function.
if (!Array.prototype.reduce) {
Array.prototype.reduce = function(callbackfn, initVal) {
"use strict";
var arr = this,
arrLen = arr.length,
k = 0,
accumulator = initVal === undefined ? undefined : initVal;
for(;k < arrLen;k++) {
if (accumulator !== undefined && k in arr) {
accumulator = callbackfn.call(undefined, accumulator, arr[k], k, arr);
} else {
accumulator = arr[k];
}
}
return accumulator;
};
}