Skip to content

Commit

Permalink
Merge pull request Aircoookie#1951 from blazoncek/user-configurable-u…
Browse files Browse the repository at this point in the history
…sermods

User configurable usermods.
  • Loading branch information
Aircoookie authored May 9, 2021
2 parents f60579f + 6ab95ed commit 119826c
Show file tree
Hide file tree
Showing 25 changed files with 2,652 additions and 1,448 deletions.
12 changes: 12 additions & 0 deletions tools/cdata.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,18 @@ const char PAGE_settings_dmx[] PROGMEM = R"=====()=====";
"function GetV() {var d=document;\n"
),
},
{
file: "settings_um.htm",
name: "PAGE_settings_um",
prepend: "=====(",
append: ")=====",
method: "plaintext",
filter: "html-minify",
mangle: (str) =>
str
.replace(/\<link rel="stylesheet".*\>/gms, "")
.replace(/\<style\>.*\<\/style\>/gms, "%CSS%%SCSS%")
}
],
"wled00/html_settings.h"
);
Expand Down
Loading

0 comments on commit 119826c

Please sign in to comment.