From 62edbc917fdd514c769688bbf8cca4beff30f294 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 30 Aug 2015 12:49:03 +0100 Subject: [PATCH] Update loot-plugin-editor Editor data is now set only with setEditorData(), the `data` member has been removed. All metadata changes need to be propagated using setEditorData(). Plugin name, version and crc now exist in the editor's light DOM. --- scripts/vulcanize.js | 1 + src/gui/html/elements/loot-plugin-editor.html | 940 ++++++++---------- .../elements/test_loot-plugin-editor.html | 37 + 3 files changed, 457 insertions(+), 521 deletions(-) create mode 100644 src/tests/gui/html/elements/test_loot-plugin-editor.html diff --git a/scripts/vulcanize.js b/scripts/vulcanize.js index 4d2482bb..0856eb6d 100755 --- a/scripts/vulcanize.js +++ b/scripts/vulcanize.js @@ -66,6 +66,7 @@ function vulcanizeTests(releasePath) { 'test_loot-custom-icons.html', 'test_loot-dropdown-menu.html', 'test_loot-message-dialog.html', + 'test_loot-plugin-editor.html', 'test_loot-plugin-item.html', 'test_loot-search-toolbar.html', ]; diff --git a/src/gui/html/elements/loot-plugin-editor.html b/src/gui/html/elements/loot-plugin-editor.html index 0ff7eb92..5e5a4d5f 100644 --- a/src/gui/html/elements/loot-plugin-editor.html +++ b/src/gui/html/elements/loot-plugin-editor.html @@ -7,551 +7,449 @@ loot-editor-close --> - - - - - - - - - - + + + + + + + + + + + - - - - + + diff --git a/src/tests/gui/html/elements/test_loot-plugin-editor.html b/src/tests/gui/html/elements/test_loot-plugin-editor.html new file mode 100644 index 00000000..0af28fa6 --- /dev/null +++ b/src/tests/gui/html/elements/test_loot-plugin-editor.html @@ -0,0 +1,37 @@ + + + + test_loot-plugin-editor.html + + + + + + + + + + + + +

Skyrim.esm

+ 1.9 + ABCDEF01 +
+ + +