We use JsUnit with prototype successfully. Could you post any
additional info about the errors you are getting? What version of
prototype/jsunit/browser are you using? I will say that JsUnit seems
to be basically on life support so you might want to look in to
something else. I've recently
This is more of an FYI in case anyone is using Ext and Prototype on a
project. I can't exactly figure out why, but something change in the
way prototype is defining or using it's defer function from 1.6.0.3
to 1.6.1 which causes a stack overflow to occur in IE6 (and maybe
IE7). Ext and
What you are looking for is the evalScripts option that you can pass
to Ajax.Updater. See this page for more information about it:
http://prototypejs.org/api/ajax/updater
So you could do something like this:
new Ajax.Updater('items', '/items', {
parameters: { text: $F('text') },
From my experience YUI compressor is both extremely good and very
safe. I believe they have fixed any of these one off things like
$super that could create bugs. We've been using it for well over a
year and shrink prototype, scriptaculous, ExtJS, and our own code all
together. Works great.
Another alternative is to use Prototype's Curry function which let's
you create new functions with default arguments.
So you could write:
Event.observe(window, 'mouseup', alert.curry('hi'));
Joe
As long as you know what curry does, I think this is more obvious for
really simple examples like
this behavior. We are using prototype 1.6.0.1 just
fine, but 1.6.0.3 on IE6 causes us problems here. Does anyone else
have thoughts?
Joe
On Nov 18, 4:10 pm, Joe Athman [EMAIL PROTECTED] wrote:
We are having this exact same problem, although it only seemed to pop
up with version 1.8.2. We have been