1 | 'use strict';
|
2 |
|
3 | var _index = require('./index');
|
4 |
|
5 | var _index2 = _interopRequireDefault(_index);
|
6 |
|
7 | var _passwordless = require('./passwordless');
|
8 |
|
9 | var _passwordless2 = _interopRequireDefault(_passwordless);
|
10 |
|
11 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | if (typeof global.window.define == 'function' && global.window.define.amd) {
|
23 | global.window.define('auth0Lock', function () {
|
24 | return _index2.default;
|
25 | });
|
26 | global.window.define('auth0LockPasswordless', function () {
|
27 | return _passwordless2.default;
|
28 | });
|
29 | } else if (global.window) {
|
30 | global.window.Auth0Lock = _index2.default;
|
31 | global.window.Auth0LockPasswordless = _passwordless2.default;
|
32 | }
|