plantResult should not be immediately called

This commit is contained in:
斟酌 鵬兄 2014-10-21 17:01:37 +08:00
parent c280ecc9b3
commit 56fe5a4b44

View File

@ -62,7 +62,7 @@ Framework.prototype.parseResult = function()
var method = this.router.route(); var method = this.router.route();
if( method ) if( method )
{ {
Dragonfly.Debug( "Call " + method ); Dragonfly.Log( "Call " + method, Dragonfly.Spheres.THERMO );
if( this.handlers[ method ] ) if( this.handlers[ method ] )
{ {
@ -74,7 +74,6 @@ Framework.prototype.parseResult = function()
throw new FatalError( "Relay handler \"" + method + "\" is not defined" ); throw new FatalError( "Relay handler \"" + method + "\" is not defined" );
} }
this.plantResult();
}; };
Framework.prototype.plantResult = function() Framework.prototype.plantResult = function()