(attribName, hasStyleOnRepSelection)
| 2055 | const isPadLoading = (t) => t === 'setup' || t === 'setBaseText' || t === 'importText'; |
| 2056 | |
| 2057 | const updateStyleButtonState = (attribName, hasStyleOnRepSelection) => { |
| 2058 | const $formattingButton = window.$(`[data-key="${attribName}"]`).find('a'); |
| 2059 | $formattingButton.toggleClass(SELECT_BUTTON_CLASS, hasStyleOnRepSelection); |
| 2060 | }; |
| 2061 | |
| 2062 | const attribIsFormattingStyle = (attribName) => FORMATTING_STYLES.indexOf(attribName) !== -1; |
| 2063 |
no test coverage detected