redoc/lib/index.js

16 lines
341 B
JavaScript
Raw Normal View History

2015-10-03 15:11:57 +03:00
'use strict';
2015-10-03 11:54:09 +03:00
import 'zone.js';
import 'reflect-metadata';
import { bootstrap } from 'angular2/angular2';
import { RedocTest } from './RedocTest/redoc-test';
export * from './RedocTest/redoc-test';
export function init() {
bootstrap(RedocTest).then(
() => console.log('ReDoc bootstrapped!'),
error => console.log(error)
);
}