mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-18 08:51:43 +10:00
WiFiManager: consolidate portal JS, update handlers and tests
Remove legacy JS.h template; extend PortalAppJS and RootShell; adjust WiFiManager core/server/handlers and platformio; refresh captive and template tests.
This commit is contained in:
@@ -104,11 +104,9 @@ void test_root_render_interleaved_context_isolation() {
|
||||
PlaceholderRegistry registryA(8);
|
||||
PlaceholderRegistry registryB(8);
|
||||
|
||||
registryA.registerProgmemData("%SCRIPTS%", kEmptyTemplateChunk);
|
||||
registryA.registerProgmemData("%STYLES%", kEmptyTemplateChunk);
|
||||
registryA.registerProgmemData("%PAGE_TITLE%", kTestTitle);
|
||||
|
||||
registryB.registerProgmemData("%SCRIPTS%", kEmptyTemplateChunk);
|
||||
registryB.registerProgmemData("%STYLES%", kEmptyTemplateChunk);
|
||||
registryB.registerProgmemData("%PAGE_TITLE%", kTestTitle);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user