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.

Update setStyle to support property, value arguments and a callback as the value.

#81

Add the ability to call setStyle like setStyle(property, value). Also, allow the value argument to be a callback which will set the value of the parameter.

Reported by Joe Gornick · September 21st, 2010 @ 11:58 AM

State: patched
Milestone: Iteration 3
Assigned to: John-David Dalton John-David Dalton

Activity

  1. Joe Gornick
    Joe Gornick

    Should we allow callbacks when an object or hash is used as the value for a property?

    September 21st, 2010 @ 11:59 AM

  2. Joe Gornick
    Joe Gornick

    Initial commit can be found @ http://github.com/jgornick/fusejs/commit/6ffbd94313666154b0dbc47a7c...

    Still need to write the callback approach.

    October 5th, 2010 @ 12:50 AM

  3. Joe Gornick
    Joe Gornick
    • State changed from new to open

    October 5th, 2010 @ 12:51 AM

  4. Joe Gornick
    Joe Gornick
    • State changed from open to patched
    • Assigned user changed from Joe Gornick to John-David Dalton

    John-David and I decided to not allow a callback option but rather instead iterate through the list and apply the styles that way. However, the commit above includes support for the two argument (property, value) API.

    October 6th, 2010 @ 12:00 PM

  5. Joe Gornick
    Joe Gornick
    • Milestone set to Iteration 2
    • Milestone order changed from 5 to 0

    March 22nd, 2011 @ 09:35 PM

  6. Joe Gornick
    Joe Gornick
    • Milestone changed from Iteration 2 to Iteration 3
    • Milestone order changed from 14 to 0

    March 22nd, 2011 @ 09:41 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.