diff src/app/services/feature-extraction/FeatureReducers.ts @ 316:98490d0ceb77

Lint.
author Lucas Thompson <dev@lucas.im>
date Fri, 12 May 2017 17:14:59 +0100
parents dc415a620b15
children c39df81c4dae
line wrap: on
line diff
--- a/src/app/services/feature-extraction/FeatureReducers.ts	Fri May 12 17:11:34 2017 +0100
+++ b/src/app/services/feature-extraction/FeatureReducers.ts	Fri May 12 17:14:59 2017 +0100
@@ -1,10 +1,11 @@
 /**
  * Created by lucast on 26/04/2017.
  */
-import {StreamingResponse} from "piper/StreamingService";
+import {StreamingResponse} from 'piper/StreamingService';
 
 export const arrayReducer = <T>(acc: T[], val: T[]): T[] => {
-  for (let i = 0, len = val.length; i < len; ++i) {
+  const len = val.length;
+  for (let i = 0; i < len; ++i) {
     acc.push(val[i]);
   }
   return acc;