import {endsWith} from "ends-with";
if (endsWith (href, "#") {
...
}
I have the following error:
Uncaught TypeError: ends_with_1.endsWith is not a function
at cleanUrl (orxapi.widgets.testbyfamily.min.js:7001)
at Object.getUrlVar (orxapi.widgets.testbyfamily.min.js:6915)
at MessageForm.handleSubmitMessage (orxapi.widgets.testbyfamily.min.js:259)
at Object.Ia (orxapi.widgets.testbyfamily.min.js:1535)
at Object.invokeGuardedCallback (orxapi.widgets.testbyfamily.min.js:1505)
at Object.invokeGuardedCallbackAndCatchFirstError (orxapi.widgets.testbyfamily.min.js:1508)
at Ya (orxapi.widgets.testbyfamily.min.js:1607)
at bb (orxapi.widgets.testbyfamily.min.js:1636)
at db (orxapi.widgets.testbyfamily.min.js:1646)
at Array.forEach (<anonymous>)
Hello,
I tried to run your library with ES6 import
I have the following error:
Thank you.