View Full Version : Compatibility problem with YUI 2.3.0?
norman64
17 Aug 2007, 12:16 PM
Hi, I'm having some problems getting ext to work with YUI 2.3.0, it keeps bringing up some error about utilities.js (yui) but only if I'm using ext. When I comment de ext libraries YUI works fine.
Any info on that?
Thanks!
ReyBango
17 Aug 2007, 12:32 PM
Hi, I'm having some problems getting ext to work with YUI 2.3.0, it keeps bringing up some error about utilities.js (yui) but only if I'm using ext. When I comment de ext libraries YUI works fine.
Any info on that?
Thanks!
Hi Norman,
Could you provide more info on your issues? If you can provide an online example, that would be even better.
Thanks,
Rey...
norman64
17 Aug 2007, 12:55 PM
Hi Rey,
Thanks for your fast response.
Sadly I can't provide you with an online example but it goes like this:
1) I was using YUI (version 2.2.1) with Ext 1.1 with no problem.
2) I updated to YUI 2.3.0 and my application breaks (several funcions affected)
the error acording to firebug is:
YAHOO.lang.trim is not a function
yahoo-dom-event.js line 76
It says the problem is in a YUI file, but when I remove this Ext dependencies:
yui-utilities.js,ext-yui-adapter.js,ext-all.js
it works fine.
I've tried and just including the ext files brings up the error (even if I don't make use of ext). I'm guessing it is a namespace problem but I don't know much js.
Thanks for your help and excuse my poor english.
kuprishuz
19 Aug 2007, 7:03 AM
is yui-utilities the YUI 2.3.0 , or are you double including it? I have successfully been using Ext and YUI 2.3.0 for about 2 weeks without any issues.
whoare
20 Aug 2007, 5:24 AM
is yui-utilities the YUI 2.3.0 , or are you double including it? I have successfully been using Ext and YUI 2.3.0 for about 2 weeks without any issues.
I confirm http://developer.yahoo.com/yui/calendar/ using yui2.3.0 is not functional if I enable ext-yui-adapter.js
norman64
27 Aug 2007, 8:50 AM
I'm sorry, it was my error on the include order. I was including first YUI and then EXT and reading the documentation it should be the other way around.
The problem is fixed and it seems to be working ok now, but I get this (probably unrelated to the OP)
_60.animateX is not a function
ext-yui-adapter.j... (line 12)
thanks!
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.