| Page 1 of 1 | [ 2 posts ] |
|
Hi fellow developers.
I have a bit of a problem using a local include of YUI 3.5.0. We use an Ajax content loader framework to load requested files instead of redirecting each time to a new page, we just load it as content into an already loaded default.aspx page. Because of this aspect we have to manually fire the postload javascript for each page that gets loaded. Now on my home page I load 3 grids, and using the YUI 3.5.0 seed, it works perfectly, however, because of bandwidth problems in South Africa, out client has requested that we speed this up, and my only solution is to locally include the YUI 3.5.0 library. However, if I use a local include of the file, my javascript postload try catch gives an error of "Y.DataTable is not a constructor". Like I said it works perfectly using the seed, but the local include gives this error. I have done the standard debug, alerting Y, and Y.DataTable and both alerts return [Object object]. Does anyone know if there are differences in the seeded YUI library, and the local YUI library, or should I include more than just the '/yui/build/yui/yui-min.js' file? I am also looking for an answer, but because of a closing deadline, I would really appreciate any insight into this. Thank you all! |
|
alerting Y.DataTable in 3.5.0 should alert '[object Function]'
So it sounds like not all of the modules you're after are there. What's your use() statement look like? A bit of code would be helpful. |
| Page 1 of 1 | [ 2 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