Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Prototype's "down" method is unavailable

#69

A Blue Ridge user reported an issue when using Prototype's "Element.down()" method. http://github.com/relevance/blue-ridge/issues#issue/6

I've added a failing "down method" test to the test/unit/prototypecompat.js file. When it passes, this ticket is closed. Here's the test snippet that crashes:

test("down method", function(){
expect(1);
ok($('main').down('#foo') != undefined, "$('main').down('#foo') successfully found an element"); });

Reported by larry.karnowski (at gmail) · May 22nd, 2009 @ 05:14 AM

State: resolved
Milestone: 1.0 Release
Assigned to: Thatcher Thatcher

Activity

  1. Brandt Kurowski
    Brandt Kurowski

    FWIW i did a quick fix for this (http://github.com/kurowski/env-js/commit/8486271c512fef954020474f76..., but it feels like i've only touched the tip of the iceberg

    May 25th, 2009 @ 07:12 PM

  2. Thatcher
    Thatcher
    • Milestone set to 1.0 Release
    • State changed from new to resolved
    • Assigned user set to Thatcher

    it looks like this got fixed when we exposed core function prototypes for modification, eg Element

    September 9th, 2009 @ 05:28 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.