import m from 'mithril';
import FastClick from 'fastclick';
import AppComponent from './components/app.js';

// Eliminate the #! for all routes
m.route.prefix('');

m.route(document.querySelector('main'), '/', {
  '/': AppComponent,
  '/room/:roomCode': AppComponent
});

FastClick.attach(document.body);

@@ -155,12 +155,13 @@
 efix
-(
+ = 
 ''
-)
 ;%0A%0Am

Fix Mithril v2 bug with m.route.prefix no longer being a function