Skip to content

Commit

Permalink
luci-base: drop promise polyfill
Browse files Browse the repository at this point in the history
Subsequent commits will modernize LuCI JavaScript code to use ES6 features,
so drop the Promise polyfill as we're dropping support for non-ES6 browsers.

Signed-off-by: Jo-Philipp Wich <[email protected]>
  • Loading branch information
systemcrash committed Dec 20, 2024
1 parent 844c450 commit f92e072
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions modules/luci-base/htdocs/luci-static/resources/promis.min.js

This file was deleted.

1 change: 0 additions & 1 deletion modules/luci-base/ucode/template/header.ut
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
include(`themes/${theme}/header`);
-%}

<script src="{{ resource }}/promis.min.js"></script>
<script src="{{ resource }}/luci.js"></script>
<script>
L = new LuCI({{ replace(`${ {
Expand Down

0 comments on commit f92e072

Please sign in to comment.