1 | import TeamDirectory from './src';
|
2 |
|
3 | function Directory(id, options) {
|
4 | return new TeamDirectory(id, options);
|
5 | }
|
6 |
|
7 | if (window && typeof module !== 'undefined' && module.exports) {
|
8 | window.TeamDirectory = module.exports = Directory;
|
9 | } else if (typeof module !== 'undefined' && module.exports) {
|
10 | module.exports = Directory;
|
11 | } else {
|
12 | window.TeamDirectory = Directory;
|
13 | }
|