const view = require('think-view');
const model = require('think-model');

module.exports = [
  view, //make application support view
  model
];


@@ -134,13 +134,24 @@
 %0A  model
+(think.app)
 %0A%5D;%0A%0A

Change model extend to be a function