Release candidate 2

by Sam Stephenson | March 12th, 2007

Prototype 1.5.1_rc2 is out. This release fixes several bugs in IE and Safari (see the CHANGELOG). Upgrade and keep those bug reports coming!

And don’t miss the script.aculo.us 1.7.1 beta.

Comments

  1. Daniel #

    Just upgraded and whenever my page loads an autocompleter I get hundreds of:

    Error: too much recursion prototype.js Line 1254

    March 12th, 2007 @ 08:02 PM
  2. Michael #

    great guys! keep it going strong :)

    March 12th, 2007 @ 08:29 PM
  3. sam #

    @Daniel: Please make sure you’re using script.aculo.us from SVN, or the 1.7.1 beta linked in the post above.

    March 12th, 2007 @ 09:17 PM
  4. Daniel #

    Thanks Sam, fixed ;)

    March 12th, 2007 @ 10:23 PM
  5. Seg #

    Is it me, or is the CHANGELOG link not working?

    March 13th, 2007 @ 11:18 AM
  6. Tobie Langel #

    @Seg: Looks like the whole server is down.

    March 13th, 2007 @ 11:34 AM
  7. Tobie Langel #

    @Seg: the server’s back up now, and the CHANGELOG link works again.

    March 13th, 2007 @ 04:07 PM
  8. mike #

    Great work! However, are there plans to support XHTML pages with content-type as application/xhtml+xml? Prototype does not seem to function correctly if the server is returning the content as application/xhtml+xml. For example, the cssSelector $$() returns an empty array.

    March 14th, 2007 @ 06:03 PM
  9. mz #

    http://ajaxian.com/archives/evaling-with-ies-windowexecscript Can you fix it in prototype?

    March 17th, 2007 @ 01:14 PM
  10. Tobie Langel #

    Mike: Which version of Prototype are you using? We can’t reproduce your issues here, $$() works as expected. Please upgrade to the latest release candidate and file a bug report if this is still an issue.

    mz: You are more then welcomed to submit a patch. However, this is really only an issue for declaring variables in the global scope. An easy fix for this is to write:

    window.myVar

    instead of:

    var myVar
    March 17th, 2007 @ 07:31 PM
  11. daniel #

    I get this error on page loads every now and then.

    $A is not defined return __method.apply(object, args.concat($A(arguments))); prototype.js?320 Line 102

    If I do a hard refresh it goes away, but returns again and again. The file is not gzipped or compressed.

    March 19th, 2007 @ 02:59 AM
  12. Tobie Langel #

    Daniel: there is a mailing list, irc and a bug tracker for these kinds of issues. Please use them. Thank you.

    March 19th, 2007 @ 03:13 AM
  13. daniel #

    sorry tobie, i thought you guys wanted rc2 issues posted on this thread, my mistake

    March 19th, 2007 @ 09:27 PM
  14. jdalton #

    I dropped this into my project and I get some errors that I normally didn’t stemming from my code. I don’t know what has caused it. I don’t use $continue anywhere…. hmm interesting.

    March 20th, 2007 @ 03:28 PM
  15. jdalton #

    Just read the post above. Re-posting in appropriate place.

    March 20th, 2007 @ 03:30 PM
  16. jdalton #

    Sorry for the triple post. I just wanted to say that the error was 100% my fault and not Prototypes.

    March 20th, 2007 @ 07:12 PM
  17. michy #

    sam,on question about the removed “throw $continue”.

    • <input checked type="checkbox" value="a">
    • <input unchecked type="checkbox" value="b">
    • <input checked type="checkbox" value="c">

    In version 1.5.0, the code below will return ‘a,c’.

    $A($(‘sample’)).collect(function(li) { var chkbox = li.childNodes0; if (chkbox.checked) return chkbox.value; else throw $continue; }).join(’,’);

    But if updated to version 1.5.1 rc2,the code would be: $A($(‘sample’)).collect(function(li) { var chkbox = li.childNodes0; if (chkbox.checked) return chkbox.value; else return; }).join(’,’);

    the result will be ‘a,,c’, it’s not what I hoped.

    How can I reach the correct result?

    April 2nd, 2007 @ 06:27 AM
  18. Kyo #

    this is what we call a great Job ! thanks guys

    April 4th, 2007 @ 09:28 AM

Sorry, comments are closed for this article.

Search Blog


Search the prototype blog.

Subscribe to the blog

Akismet badge