On 3/25/11 7:24 AM, Walter Lee Davis wrote:
> Try loading prototype before main.js and see if the problem goes
> away. Or try wrapping self.animations with $A(), which will return an
> extended array.
> 
> Walter

Thanks for the suggestions; loading prototype.js just before main.js
doesn't help, but loading it before AppleAnimator.js in main.html does.
Hopefully that won't break much.   ;)

Thanks,
-Eric

> On Mar 25, 2011, at 1:21 AM, Eric wrote:
> 
>> I'm using Dashcode 3.0.2 on OSX 10.6.6, and trying to write my
>> first dashboard widget using prototype.js 1.7.
>> 
>> I've got some things working, but as soon as I mouse over the
>> running widget, I get a:
>> 
>> Result of expression 'array' [undefined] is not an object
>> 
>> I'm not sure how I got to it, but it's in AppleAnimator.js, and 
>> 'array' came from array = self.animations;
>> 
>> A simple reproducer is:
>> 
>> Create a new "custom" project. Add prototype.js to the file list. 
>> Add prototype.js to main.html right after main.js Run the project,
>> mouse over .... boom.
>> 
>> I'll admit to being a total noob at this, but I can't tell what's
>> gone wrong here.
>> 
>> Thanks, -Eric
>> 
>> -- 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 prototype-scriptaculous@googlegroups.com. To
>> unsubscribe from this group, send email to
>> prototype-scriptaculous+unsubscr...@googlegroups.com. For more
>> options, visit this group at
>> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>> 
> 

-- 
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 prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to