Started moving to ES6, JSX

This commit is contained in:
Gianluca Esposito 2015-09-10 20:13:26 +02:00
parent a896447db1
commit 82fa9f21a2
6 changed files with 88 additions and 69 deletions

11
app.js Normal file
View file

@ -0,0 +1,11 @@
exports.loadContext = function(callback) {
var context;
context = require.context('./pages', true);
if (module.hot) {
module.hot.accept(context.id, function() {
context = require.context('./pages', true);
return callback(context);
});
}
return callback(context);
};