[英]Working around possible Kendo UI and Wijmo SpreadJS compatibility issue
I think I may be hitting a compatibility issue using Kendo UI and SpreadJS together. 我想我可能会同时使用Kendo UI和SpreadJS遇到兼容性问题。 If I include JQuery, Kendo and SpreadJS references in an HTML page, then Chrome gives me the error "Uncaught RangeError: Maximum call stack size exceeded" in the dev console.
如果我在HTML页面中包含JQuery,Kendo和SpreadJS引用,则Chrome在开发控制台中会给我错误“未捕获的RangeError:超出最大调用堆栈大小”。 IE also hits the same error (stack overflow).
IE也遇到相同的错误(堆栈溢出)。
I'd be really grateful if anyone has any ideas on either what I'm doing wrong, or how I can get these libraries to play nicely with each other! 如果有人对我做错了什么或如何使这些库相互配合有任何想法,我将非常感激!
Cheers, Scottie 干杯,斯科蒂
Page Source: 页面来源:
<html>
<head>
<script src="https://code.jquery.com/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="http://cdn.wijmo.com/spreadjs/jquery.wijmo.wijspread.all.3.20142.12.js" type="text/javascript"></script>
<script src="http://cdn.kendostatic.com/2013.1.319/js/kendo.all.min.js" type="text/javascript"></script>
</head>
<body>
</body>
</html>
我尚未分析原因,但是如果您更改包含库的顺序(首先是Kendo UI,然后是SpreadJS),它将起作用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.