Changed order component bootstrapping

This commit is contained in:
Roman Gotsiy 2015-10-21 14:29:49 +03:00
parent 1892ac4b00
commit 99c578efcc

View File

@ -10,9 +10,9 @@ export * from './components/index';
export function init(schemaUrl) {
SchemaManager.instance().load(schemaUrl).then(
() => {
return bootstrap(Redoc);
return bootstrap(SideMenu);
}
).then(() => bootstrap(SideMenu))
).then(() => bootstrap(Redoc))
.then(
() => console.log('ReDoc bootstrapped!'),
error => console.log(error)