EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: unle70 on June 29, 2022, 09:18:20 PM



Title: EasyUi is not compatible with "use strict"
Post by: unle70 on June 29, 2022, 09:18:20 PM
Hello,

I'm trying to use EasyUi in my application. My application is dynamically loading javascript modules (import) and most of the code is using "use strict". I have tried to use the comboTree and upon clicking the expand button I always get the following error message: "Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them"

Looks like the EasyUi code is trying to use "arguments.callee" which is not allowed in strict mode.

Any idea how to resolve this?


Title: Re: EasyUi is not compatible with "use strict"
Post by: jarry on June 30, 2022, 08:06:17 AM
Please try to update to the newest version.