On Nov 13, 5:29 pm, Nilavan <[EMAIL PROTECTED]> wrote:
> Hi,
> I am not very knowledgeable in Javascript but I am using the Prototpye
> framework in one of my projects. I am trying to integrate Google Books
> Embedded Preview in the page and it doesn't work when I include the
> Framework. The Javascript console in Google Chrome reports this error:
> " Uncaught TypeError: undefined is not a constructor " referring to
> the exception caught in the following function:
> var Enumerable = {
> each: function(iterator) {
> var index = 0;
> try {
> this._each(function(value) {
> iterator(value, index++);
> });
> } catch (e) {
> if (e != $break) throw e;
> }
> return this;
> },
> Can someone please help me with any direction on how to get the google
> API working with along with the Prototype framework?
> I apologize for being so naive in describing the problem - due to my
> unfamiliarity with JS, but I will be very glad in providing any info
> that may make it easy to help me out.
>
> I have the sample page set up athttp://nilavan.org/GooglePreview.htm
I see you're using version 1.5.1. Have you tried the latest 1.6.0.3?
>
> Thanks and regards,
> Nilavan
--
kangax
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---