UNPKG

app-decorators

Version:

Collection of useful ES7 Decorators, writtin in ES6, that can be used for building webapps

13 lines (11 loc) 342 B
window.bootstrap = function(app) { let bootstrap = Promise.all([ System.import('app-decorators/src/bootstrap'), System.import(app), ]).then(function() { console.log('App: running!'); }).catch(function() { console.warn('App: something gone wrong!', Error().stack); }); return bootstrap; };