This support forum belongs to the Carousel Gallery Module.
Carousel has a bug tracker here: http://github.com/g13n/yui3-gallery/issues
| Page 1 of 1 | [ 4 posts ] |
|
Gopal,
I tried out version gallery-2010.10.06-18-55 of the carousel like so Click here to see the revision history on this Gist., but get aCode: Uncaught TypeError: Object [object Object] has no method 'substitute' error.The carousel's code sample uses YUI 3.1.0, which yields the same error. Thoughts? |
|
In my test I have to use console for gallery-carousel, I am not sure if it's by designed.
YUI({ gallery: 'gallery-2010.10.06-18-55' }).use('console', 'gallery-carousel', function(Y) { // carousel stuff }); |
|
[quote="bartt"]I tried out version gallery-2010.10.06-18-55 of the carousel like so [gist=617158] [/gist], but get a
Gopal Venkatesan (g13n)[code]Uncaught TypeError: Object [object Object] has no method 'substitute'[/code] error. The carousel's code sample uses YUI 3.1.0, which yields the same error. Thoughts?[/quote] Hi Bartt, I had left out the dependency on "substitute" which is why you're getting the error. I've updated the example code. Thanks for reporting. http://g13n.me/ |
|
[quote="huang47"]In my test I have to use console for gallery-carousel, I am not sure if it's by designed.
Gopal Venkatesan (g13n)YUI({ gallery: 'gallery-2010.10.06-18-55' }).use('console', 'gallery-carousel', function(Y) { // carousel stuff });[/quote] Hi Huge Huang, Carousel doesn't have a dependency on "console", but it had a dependency on "substitute" which was missing from its build configuration. So, when you included "console", that in turn pulled in "substitute" and you didn't get the error! I've fixed the example code now. http://g13n.me/ |
| 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