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.

Activity (RSS)

Wednesday, August 05 2009
60 Array#first and Array#last with callbacks was created
  • MadRabbit
    MadRabbit created the ticket at 10:23 AM

    add a callback support for the #first and #last methods of the array

59 Rename Array#all and #any to #some and #every was created
  • MadRabbit
    MadRabbit created the ticket at 10:11 AM

    JavaScript 1.6 has those names

    and mark #all and #any as deprecated and for moving to the RightJS Goods

58 Fixed: String.prototype.trim() is slow. was updated
  • MadRabbit
    MadRabbit commented at 9:17 AM

    Oh, that's cool that FF has it's native method now. I'll do some adjustments then and it will use the method if available.

  • Yesudeep Mangalapilly
    Yesudeep Mangalapilly commented at 1:11 AM

    Also I forgot to mention.

    In all the tests I ran so far, trim17 performed fastest in all WebKit based browsers
    with trim16 tailing it. And I still think trim17 ...

  • Yesudeep Mangalapilly
    Yesudeep Mangalapilly commented at 1:06 AM

    I actually think that is a good idea but has its own share of problems.
    Firefox 3.5 introduces JavaScript 1.8.1 and with it arrives a
    native implementation of S...

Tuesday, August 04 2009
50 Remove the window observer extensions, case the methods affect the global scope was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 9:49 AM
56 Fix monkeypatches was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 9:48 AM
Monday, August 03 2009
58 Fixed: String.prototype.trim() is slow. was updated
  • MadRabbit
    MadRabbit commented at 10:32 AM

    Tell you what.

    I quite like how you have optimized the thing, pretty smart. No, please, don't think like I'm trying to sweet you before saying "no". Well, I wil...

  • Yesudeep Mangalapilly
    Yesudeep Mangalapilly commented at 5:22 AM

    Have updated the article comments with benchmarks on quite a few browsers
    and platforms. Please see that.

  • Yesudeep Mangalapilly
    Yesudeep Mangalapilly commented at 3:43 AM

    Also, if you wanted to pick something, I'd probably suggest trim13
    which seems like it has consistent and quick performance across all the browsers.
    Mine seems ...

  • Yesudeep Mangalapilly
    Yesudeep Mangalapilly commented at 3:23 AM

    Oh and that's for 2000 iterations. trim17 is the one I've written.

  • Yesudeep Mangalapilly
    Yesudeep Mangalapilly commented at 3:17 AM

    Here are the results:

    Original length: 27662
    trim10: 13ms (length: 27656)
    trim11: 128ms (length: 27656)
    trim12: 95ms (length: 27656)
    trim13: 7ms (length: 27656)
    ...

2 earlier changes…
  • Yesudeep Mangalapilly
    Yesudeep Mangalapilly commented at 3:06 AM

    I can understand that, except I'd side with including the most time-efficient function
    that's available, simply because as a user of a library, I'd want to incl...

  • MadRabbit
    MadRabbit commented at 1:23 AM

    Looked through your article, pretty interesting and looks good, but it seems to me like it doesn't worth of it to include it to the core. I'm more positive abou...

Sunday, August 02 2009
58 Fixed: String.prototype.trim() is slow. was updated
  • MadRabbit
    MadRabbit commented at 11:44 PM

    Hey Yesudeep,

    thank for your enquiry! there actually other people were pointing me at the issue and there is a little bit more compact version of the method

    fun...

  • Yesudeep Mangalapilly
    Yesudeep Mangalapilly created the ticket at 11:28 PM

    The regular expression-based String.prototype.trim()
    implementation is known to be extremely slow.
    jQuery uses the same regular expression for its
    implementatio...

Saturday, August 01 2009
57 OOP Guide was created
  • MadRabbit
    MadRabbit created the ticket at 12:58 PM

    Write more extened OOP guide which will include tips on monkeypatching and private functions usage

56 Fix monkeypatches was created
  • MadRabbit
    MadRabbit created the ticket at 12:56 PM

    Replace the references to the previous versions of methods in cases of monkeypatching from the object references to temporary private functions

Friday, July 31 2009
55 Fx.Glow was created
  • MadRabbit
    MadRabbit created the ticket at 7:28 PM

    Similar to Fx.Highlight but for the main color

Thursday, July 30 2009
54 Seems like the fade effect doesn't work correctly on IE6 check it out was created
53 Fx.Morph to a css class which has opacity is not always working was created
52 Show/hide with css styles ain't work was created
Tuesday, July 28 2009
51 xhr.setHeader('Content-type', 'application/json') fails to set Content-type h... was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 12:31 PM

    I've updated the build on the server. Now it includes a patch for your case

    Please let me know how is it going with you using RightJS

Monday, July 27 2009
51 xhr.setHeader('Content-type', 'application/json') fails to set Content-type h... was updated
  • Yesudeep Mangalapilly
    Yesudeep Mangalapilly commented at 4:17 PM

    Oh, nice. I can probably use that suggestion to go right ahead.
    However, yes, I second that it would be good to keep the user
    defined content-type.

    Thanks. :-)

  • MadRabbit
    MadRabbit commented at 11:08 AM

    Hi Yesudeep,

    There's a default option called 'urlEncoded', which is true by default
    and it forces the formencoded content type. You could avoid the thing
    by doi...

  • Yesudeep Mangalapilly
    Yesudeep Mangalapilly created the ticket at 10:57 AM

    Here's the offending piece of code:

    var xhr = new Xhr('/api', {
        onSuccess: function(){
            console.log('success!');
        }
    });
    xhr = xhr.setHeader('Cont...
Sunday, July 26 2009
49 Move the IE mouse events extending from goods to core was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 9:31 AM
Wednesday, July 22 2009
50 Remove the window observer extensions, case the methods affect the global scope was created
49 Move the IE mouse events extending from goods to core was created
Tuesday, July 21 2009
48 Fix the dummy events firing was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 8:37 AM
Tuesday, July 14 2009
48 Fix the dummy events firing was created
  • MadRabbit
    MadRabbit created the ticket at 9:49 PM

    Make the dummy events bubble, and fix the event.stop() thing

Monday, July 13 2009
15 Check/Implement/Test the DOM events extending was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 9:08 AM
Sunday, July 12 2009
41 add 'target' support for the dom-events was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 1:31 PM
42 Event pointerX, pointerY for the core events handler was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 1:01 PM
Saturday, July 11 2009
47 Cookie json export/import was created
  • MadRabbit
    MadRabbit created the ticket at 7:28 PM

    make the Cookie module automatically export/import the data into a json format, so it was able to save / restore the hashes and arrays transparently

43 Fx autocalculations was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 6:55 PM
39 Add element attribute for the default Fx class was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 6:49 PM
26 Transparent values support for the visual effects was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 6:46 PM
45 Fx looses borders was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 6:45 PM
46 JSON support was created
Tuesday, July 07 2009
45 Fx looses borders was created
  • MadRabbit
    MadRabbit created the ticket at 1:11 PM

    Fx.Highlight removes the element borders if they were set before

Monday, July 06 2009
44 Check and replace apply with call where it's possible was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 9:05 AM
Sunday, July 05 2009
44 Check and replace apply with call where it's possible was created
5 Write tests for the Cookie object was updated
  • MadRabbit
    • State changed from new to resolved
    • Milestone set to 1.2.0 Release
    by MadRabbit at 6:48 PM
38 Move cookies back to the core was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 6:48 PM
40 Implement the 'stop' method for the custom dom events, so it was possible to ... was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 3:59 PM
26 Transparent values support for the visual effects was updated
  • MadRabbit
    • Milestone set to 1.2.0 Release
    by MadRabbit at 10:24 AM
43 Fx autocalculations was created
  • MadRabbit
    MadRabbit created the ticket at 10:24 AM

    see if there a way to make the visual effect values stepping calculations more or less automatically so you didn't need to write the simple equation with the de...

42 Event pointerX, pointerY for the core events handler was created
41 add 'target' support for the dom-events was created
  • MadRabbit
    MadRabbit created the ticket at 10:21 AM

    make it artificially for the custom events too