EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: WizPS on November 07, 2019, 03:55:54 AM



Title: Upgrading error
Post by: WizPS on November 07, 2019, 03:55:54 AM
Upgrading from ver 1.8.5 to 1.8.8 gives the following error message when reloading page.

I stripped the code down and it seems to be the using() function causing the problem:

Code:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src="jquery/jquery-3.4.1.min.js"></script>
<script src="easyui/easyloader.js"></script>
</head>
<body>
<link href="my.css" rel="stylesheet" />
<div id="dlg"></div>
<script type="text/javascript">
using(['tabs', 'layout'], function () {

});
</script>
</body>
</html>

Any ideas?


Title: Re: Upgrading error
Post by: jarry on November 07, 2019, 11:50:37 PM
Please look at this example http://code.reloado.com/iyoreh/edit#preview. It works fine.


Title: Re: Upgrading error
Post by: WizPS on November 08, 2019, 11:02:01 AM
Hi Jarry,

Looking at your example it points to a 1.5 file while I experience the problem in 1.8.8.

Please advice.


Title: Re: Upgrading error
Post by: jarry on November 09, 2019, 07:23:45 PM
The easyloader uses the same version 1.8.8 and it works fine.
http://code.reloado.com/iyoreh/edit#preview