 all = undefined
 
 #递归创建页面方法
-forPage = (callback) ->
+forPage = () ->
   views = path.join(__dirname, '../views')
   dirList = fs.readdirSync views
   dirList.forEach (item) ->

        sendPage res, html
        return
      done++
      console.log '\tre compile jade views' if done >= all

console.log '\tre compile jade views'
forPage compileRenderService()

module.exports = render

      if item.indexOf('.jade') isnt -1
        pages[item.split('.')[0]] = item
    return
  compileRenderService pages


# res发送html字符串
