Avoid fails in flowRight setup.

This commit is contained in:
John-David Dalton
2015-12-03 18:49:04 -08:00
parent 229f0b48cd
commit 19500d36c7

View File

@@ -362,8 +362,8 @@
compAddTwo = function(n) { return n + 2; },\
compAddThree = function(n) { return n + 3; };\
\
var _composed = _.flowRight(compAddThree, compAddTwo, compAddOne),\
lodashComposed = lodash.flowRight(compAddThree, compAddTwo, compAddOne);\
var _composed = _.flowRight && _.flowRight(compAddThree, compAddTwo, compAddOne),\
lodashComposed = lodash.flowRight && lodash.flowRight(compAddThree, compAddTwo, compAddOne);\
}\
if (typeof countBy != "undefined" || typeof omit != "undefined") {\
var wordToNumber = {\