Eugene Lazutkin 3 лет назад
Родитель
Сommit
2dd08287e4
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/defs.js

+ 2 - 2
src/defs.js

@@ -18,7 +18,7 @@ const isFunctionList = o => o && o[fListSymbol] === 1;
 
 const getFinalValue = o => o.value;
 const getManyValues = o => o.values;
-const getFunctionList = o => o.fns;
+const getFunctionList = o => o.fList;
 
 const flushable = (write, final = null) => {
   const fn = final ? value => (value === none ? final() : write(value)) : write;
@@ -27,7 +27,7 @@ const flushable = (write, final = null) => {
 };
 
 const setFunctionList = (o, fns) => {
-  o.fns = fns;
+  o.fList = fns;
   o[fListSymbol] = 1;
   return o;
 }