diff --git a/demo/dom-021.js b/demo/dom-021.js index d66cffa32..ec7a35199 100644 --- a/demo/dom-021.js +++ b/demo/dom-021.js @@ -169,7 +169,7 @@ scrawl.addNativeListener('toggle', (e) => { } else { - closeButton.set({ + closeButton.set({ buttonDisabled: true, }); } diff --git a/source/core/shared-vars.js b/source/core/shared-vars.js index ae3c64809..c18cc07de 100644 --- a/source/core/shared-vars.js +++ b/source/core/shared-vars.js @@ -198,7 +198,6 @@ export const DOWN = 'down'; export const DOWNLOAD = 'download'; export const DROP = 'drop'; export const ELEMENT = 'element'; -export const ELEMENT_NAME = 'elementName'; export const ELEMENT_TYPE = 'elementType'; export const ELEMENT_VALUE = 'elementValue'; export const EM = 'em'; diff --git a/source/mixin/anchor.js b/source/mixin/anchor.js index 06d990ea2..f2c89b67e 100644 --- a/source/mixin/anchor.js +++ b/source/mixin/anchor.js @@ -5,7 +5,7 @@ // #### Imports -import { isa_obj, mergeOver, Ωempty } from '../core/utilities.js'; +import { mergeOver, Ωempty } from '../core/utilities.js'; import { makeAnchor } from '../factory/anchor.js'; diff --git a/source/mixin/button.js b/source/mixin/button.js index 733b522b0..408a65b7c 100644 --- a/source/mixin/button.js +++ b/source/mixin/button.js @@ -5,11 +5,11 @@ // #### Imports -import { isa_obj, mergeOver, Ωempty } from '../core/utilities.js'; +import { mergeOver, Ωempty } from '../core/utilities.js'; import { makeButton } from '../factory/button.js'; -import { AUTOFOCUS, BLUR_ACTION, DESCRIPTION, CLICK_ACTION, DISABLED, ELEMENT_NAME, ELEMENT_TYPE, ELEMENT_VALUE, FOCUS_ACTION, FORM, FORM_ACTION, FORM_ENCTYPE, FORM_METHOD, FORM_NOVALIDATE, FORM_TARGET, NAME, POPOVER_TARGET, POPOVER_TARGETACTION, TAB_ORDER } from '../core/shared-vars.js'; +import { AUTOFOCUS, BLUR_ACTION, DESCRIPTION, CLICK_ACTION, DISABLED, ELEMENT_TYPE, ELEMENT_VALUE, FOCUS_ACTION, FORM, FORM_ACTION, FORM_ENCTYPE, FORM_METHOD, FORM_NOVALIDATE, FORM_TARGET, NAME, POPOVER_TARGET, POPOVER_TARGETACTION, TAB_ORDER } from '../core/shared-vars.js'; // #### Export function