Commit 7be03e8
committed
Use proper UMD-wrapper
Updated the UMD to use the proper UMD-Wrapper.
Passing window as root, doesn't add flexibility. The same with window.define.
Passing in this as root, enables the root element to change - default browser behaviour is window.
See more for inspiration:
https://github.com/umdjs/umd/blob/master/amdWeb.js1 parent d6041e1 commit 7be03e8
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments