noUiSlider is a lightweight, ARIA-accessible JavaScript range slider with multi-touch and keyboard support. It is fully GPU animated: no reflows, so it is fast; even on older devices. It also fits wonderfully in responsive designs and has no dependencies.
I have the critical error when the "scope_Self" called before initialization. The cause in placing of "fireEvent" function and this constant.
For fixing the critical error in my project in "nouislider.ts" I moved the "scope_Self" constant and "fireEvent" function above "setupSlider" function. First - "fireEvent", then "scope_Self" above "fireEvent".
I have the critical error when the "scope_Self" called before initialization. The cause in placing of "fireEvent" function and this constant.
For fixing the critical error in my project in "nouislider.ts" I moved the "scope_Self" constant and "fireEvent" function above "setupSlider" function. First - "fireEvent", then "scope_Self" above "fireEvent".
Fixing it, please