Commit 0d5d93b
committed
Allow choices.js to be imported on server. As windows.document is by default not defined, default template rendering will not function, the callbackOnCreateTemplates callback must be used. Choices-js#861
1 parent 8f57a83 commit 0d5d93b
22 files changed
Lines changed: 84 additions & 39 deletions
File tree
- public
- assets/scripts
- types/src/scripts/lib
- src/scripts
- components
- lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1754 | 1754 | | |
1755 | 1755 | | |
1756 | 1756 | | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
1757 | 1760 | | |
1758 | 1761 | | |
1759 | 1762 | | |
| |||
1982 | 1985 | | |
1983 | 1986 | | |
1984 | 1987 | | |
1985 | | - | |
| 1988 | + | |
1986 | 1989 | | |
1987 | 1990 | | |
1988 | 1991 | | |
| |||
3620 | 3623 | | |
3621 | 3624 | | |
3622 | 3625 | | |
3623 | | - | |
| 3626 | + | |
| 3627 | + | |
3624 | 3628 | | |
3625 | 3629 | | |
3626 | 3630 | | |
| |||
3744 | 3748 | | |
3745 | 3749 | | |
3746 | 3750 | | |
3747 | | - | |
| 3751 | + | |
3748 | 3752 | | |
3749 | 3753 | | |
3750 | 3754 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1758 | 1758 | | |
1759 | 1759 | | |
1760 | 1760 | | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
1761 | 1764 | | |
1762 | 1765 | | |
1763 | 1766 | | |
| |||
1986 | 1989 | | |
1987 | 1990 | | |
1988 | 1991 | | |
1989 | | - | |
| 1992 | + | |
1990 | 1993 | | |
1991 | 1994 | | |
1992 | 1995 | | |
| |||
3624 | 3627 | | |
3625 | 3628 | | |
3626 | 3629 | | |
3627 | | - | |
| 3630 | + | |
| 3631 | + | |
3628 | 3632 | | |
3629 | 3633 | | |
3630 | 3634 | | |
| |||
3748 | 3752 | | |
3749 | 3753 | | |
3750 | 3754 | | |
3751 | | - | |
| 3755 | + | |
3752 | 3756 | | |
3753 | 3757 | | |
3754 | 3758 | | |
| |||
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1752 | 1752 | | |
1753 | 1753 | | |
1754 | 1754 | | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
1755 | 1758 | | |
1756 | 1759 | | |
1757 | 1760 | | |
| |||
1980 | 1983 | | |
1981 | 1984 | | |
1982 | 1985 | | |
1983 | | - | |
| 1986 | + | |
1984 | 1987 | | |
1985 | 1988 | | |
1986 | 1989 | | |
| |||
3618 | 3621 | | |
3619 | 3622 | | |
3620 | 3623 | | |
3621 | | - | |
| 3624 | + | |
| 3625 | + | |
3622 | 3626 | | |
3623 | 3627 | | |
3624 | 3628 | | |
| |||
3742 | 3746 | | |
3743 | 3747 | | |
3744 | 3748 | | |
3745 | | - | |
| 3749 | + | |
3746 | 3750 | | |
3747 | 3751 | | |
3748 | 3752 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1272 | 1272 | | |
1273 | 1273 | | |
1274 | 1274 | | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
1275 | 1278 | | |
1276 | 1279 | | |
1277 | 1280 | | |
| |||
1500 | 1503 | | |
1501 | 1504 | | |
1502 | 1505 | | |
1503 | | - | |
| 1506 | + | |
1504 | 1507 | | |
1505 | 1508 | | |
1506 | 1509 | | |
| |||
3138 | 3141 | | |
3139 | 3142 | | |
3140 | 3143 | | |
3141 | | - | |
| 3144 | + | |
| 3145 | + | |
3142 | 3146 | | |
3143 | 3147 | | |
3144 | 3148 | | |
| |||
3262 | 3266 | | |
3263 | 3267 | | |
3264 | 3268 | | |
3265 | | - | |
| 3269 | + | |
3266 | 3270 | | |
3267 | 3271 | | |
3268 | 3272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1276 | 1276 | | |
1277 | 1277 | | |
1278 | 1278 | | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
1279 | 1282 | | |
1280 | 1283 | | |
1281 | 1284 | | |
| |||
1504 | 1507 | | |
1505 | 1508 | | |
1506 | 1509 | | |
1507 | | - | |
| 1510 | + | |
1508 | 1511 | | |
1509 | 1512 | | |
1510 | 1513 | | |
| |||
3142 | 3145 | | |
3143 | 3146 | | |
3144 | 3147 | | |
3145 | | - | |
| 3148 | + | |
| 3149 | + | |
3146 | 3150 | | |
3147 | 3151 | | |
3148 | 3152 | | |
| |||
3266 | 3270 | | |
3267 | 3271 | | |
3268 | 3272 | | |
3269 | | - | |
| 3273 | + | |
3270 | 3274 | | |
3271 | 3275 | | |
3272 | 3276 | | |
| |||
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments