var dever = require('./dever/core.js'); App({ onLaunch: function () { console.log('App Launch'); }, onShow: function () { console.log('App Show'); }, onHide: function () { console.log('App Hide'); }, dever: dever.load });