From eef11245eb46f2527da5f20e162b75dcb669036a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Sun, 10 Jul 2016 03:29:00 +0800 Subject: [PATCH] Should return empty function --- model/chain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/chain.js b/model/chain.js index 9876f02..7c9c4b9 100644 --- a/model/chain.js +++ b/model/chain.js @@ -69,7 +69,7 @@ class Chain { Dragonfly.Info( "MultiChain " + name + ": length is zero, directly running handler" ); handler.apply( undefined, [] ); - return; + return () => {}; } var _self = this;