grunt getHTML

var Base = require( "../common/base" ) ,
HandlerBase = require( "../common/handlerBase" ) ,
Index;

Index = Base.extend( function(){} , {
extend : HandlerBase ,
handlerName : "index" ,
doJob : function *(){
return yield this.jade.getHTML( "index" );
}
} );

module.exports = Index;

posted @ 2016-08-11 17:25  smght  阅读(150)  评论(0编辑  收藏  举报