| Page 1 of 1 | [ 4 posts ] |
Phillip Ball
|
Hello,
I'm getting an error in IE 8: Message: 'undefined' is null or not an object Line: 8 Char: 1087 Code: 0 URI: http://yui.yahooapis.com/3.2.0/build/do ... yle-min.js My loader code: <?php include("../yui-phploader/phploader/loader.php"); $loader = new YAHOO_util_Loader("3.2.0"); //Turn off rollups $loader->allowRollups = false; //$loader->base = "../yui/build/"; //Specify YUI components to load $loader->load("overlay"); //Output the tags (this call would most likely be placed in the document head) echo $loader->tags(); ?> Seems to be isolated to calling: var xy = Y.one("#doc").getXY(); This works fine in Firefox, Chrome, Safari, and works just fine in IE when loading the JS through yui3 loader... Thoughts anyone? |
|
The pholoader hasn't been updated for capability-based loading. You need to specify 'dom-style-ie' as an additional requirement
|
Phillip Ball
|
Ah great. Worked like a charm. Thank you.
I realize that the YUI PHP Loader project hasn't moved too much since its beta release in December last year. Are there any plans for it? |
Phillip Ball
|
I spoke a bit too soon. Looks like php loader might not know about "transition", and IE's apparent lack of need for it.
If I pass just "yui" to php loader so I have the seed file on the page, then: use("node","event-delegate","transition", function(Y) All works well. However if I pass the whole lot to php loader: "yui","dom-style-ie","node","event-delegate","transition" I get the exact same files loaded to the page, but transition-min-.js is also loaded. I'm guessing that this is again due to that fact that since IE 8 doesn't support CSS transitions, the JS Loader will drop the file, where php loader doesn't know to (yet)? |
| Page 1 of 1 | [ 4 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group