Fix this in harness and improve gulpfile defaults

This commit is contained in:
Nathan Shively-Sanders
2016-07-11 09:30:58 -07:00
parent b543074861
commit cf15e825ee
2 changed files with 4 additions and 1 deletions

View File

@@ -127,7 +127,7 @@ namespace Utils {
export function memoize<T extends Function>(f: T): T {
const cache: { [idx: string]: any } = {};
return <any>(function() {
return <any>(function(this: any) {
const key = Array.prototype.join.call(arguments);
const cachedResult = cache[key];
if (cachedResult) {