mizzkey/src/web/app/mobile/script.js
syuilo 4193b990c7 #183 🎉
2017-02-19 12:31:23 +09:00

27 lines
411 B
JavaScript

/**
* Mobile Client
*/
// Style
//import './style.styl';
require('./style.styl');
require('./tags');
const boot = require('../boot');
const mixins = require('./mixins');
const route = require('./router');
/**
* Boot
*/
boot(me => {
// http://qiita.com/junya/items/3ff380878f26ca447f85
document.body.setAttribute('ontouchstart', '');
// Register mixins
mixins(me);
// Start routing
route(me);
});