我希望将一些 kendoui 功能集成到现有界面中。问题是,该接口对 jquery 使用 $j 而不是 $。有没有一种简单的方法可以使用 $j 而不是 $ 使 kendoui 工作?
仅仅为此目的存储第二份 kendoui 是不现实的,所以这对我们来说是一个交易破坏者
谢谢您的帮助
Simply use this snippet of code :
window.$j = window.jQuery;
That should do the trick.
Edit:
After re-reading your question, seems I was half-off-topic.
I guess what I wrote is what you already did. So just do this once you loaded all your js files :
window.kendo.jQuery = window.$j = window.jQuery;
Don't hesitate to comment if something seems odd.
我认为您应该能够设置kendo.jQuery
为您选择的 jQuery。:)