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, February 17 2010
Bulk edit performed at 12:17 AM
milestone:id#63833 affected 9 tickets
1.5.5 Release was created by MadRabbit at 12:16 AM
 
0 of 17 tickets remain in this milestone
191 Use typeof value == 'undefined' for defined()... was updated
  • MadRabbit
    MadRabbit commented at 12:14 AM

    good point, it also not framesafe

195 Include Browser.iPad property was updated
  • MadRabbit
    • State changed from new to invalid
    by MadRabbit at 12:14 AM

    I don't think it worth of it. 99% of apps won't bother about it, and is super easy to define such a key in your specific app.

Tuesday, February 16 2010
197 Tabs ajax synchronization was created
  • MadRabbit
    MadRabbit created the ticket at 11:49 PM

    Ajaxed tabs are getting screwed when switch them quickly while they are loading

192 $() with more than one argument was updated
  • Douwe M.
    Douwe M. commented at 7:06 PM

    Hmm, okay...

  • MadRabbit
    • State changed from new to invalid
    by MadRabbit at 7:04 PM

    because the complexity of algorithms gets multiplied, visiting every element in an array has a linear complexity O(n), visiting every item in an array of arrays...

  • Douwe M.
    Douwe M. commented at 6:32 PM

    But if $() would just loop through the arguments, and return one node when arguments.length == 1, and an array when it's more, the only extra code would be a lo...

  • MadRabbit
    MadRabbit commented at 6:28 PM

    I understand your point, bur the $() method is not just finds an element by an id, it also extends elements under IE7,6 browsers, and it will also be used to ac...

  • Douwe M.
    Douwe M. commented at 6:12 PM

    Well, $() with multiple arguments would just have to loop through the arguments, and run document.getElementById() on every one of them. That would only be argu...

2 earlier changes…
  • MadRabbit
    MadRabbit commented at 6:03 PM

    the $ method is a fast version of $$('#foo')[0], it was specifically made to deal with the majority of cases, when you refer to just one node. So you kinda offe...

  • Douwe M.
    Douwe M. created the ticket at 11:25 AM

    Allow us to use the $() function with more than one argument, so $('foo', 'bar', 'baz') would return an array, the same as $$('#foo, #bar, #baz').

196 input[type=checkbox] and Form.Element#getValue was updated
  • MadRabbit
    • State changed from new to invalid
    by MadRabbit at 6:30 PM

    yup. sometimes you have non-ideal choices only

  • Douwe M.
    Douwe M. commented at 6:20 PM

    Yeah, I'm using something like that already, I just thought, maybe it would be a good idea to make the getValue() method act like this, but I see why that's not...

  • MadRabbit
    MadRabbit commented at 6:14 PM

    I thought about it designing the method and here is the thing.

    There might be several checkboxes and everyone of them will have different value. So we need that...

  • Douwe M.
    Douwe M. created the ticket at 1:49 PM

    When I run getValue() on an input[type=checkbox], what I expect to get is something to tell me whether the checkbox is checked or not.

    What I get instead is, no...

2 String#escapeHTML #truncate ??? was updated
  • MadRabbit
    MadRabbit commented at 5:55 PM

    no problem at all. the more ideas the better

  • Douwe M.
    Douwe M. commented at 5:51 PM

    K :) Hope I don't steal all your time by posting so many tickets ;)

  • MadRabbit
    MadRabbit commented at 5:46 PM

    I see, haven't seen them yet. But think we can deal them one by one.

    I'll go through them tonight

  • Douwe M.
    Douwe M. commented at 5:37 PM

    Well, I was actually talking about these:

    Tickets

    (Nearly) All of which already are in rightjs-core...

  • MadRabbit
    MadRabbit commented at 5:23 PM

    That's simple, all of them should be in goods.

    The idea is following: the core contains only the strictly necessary methods, the ones that needed by 99% of case...

4 earlier changes…
  • Douwe M.
    Douwe M. commented at 5:12 PM

    Okay, I added the String#truncate method and pushed it to GitHub (haven't pulled a request to get it to you yet).
    I'm not sure what to do with the rest of the t...

  • Douwe M.
    Douwe M. commented at 4:42 PM

    Okay, will do :)

  • MadRabbit
    MadRabbit commented at 4:08 PM

    Hey Douwe,

    There is a plugin called lang in the goods repository which meant to keep all the additional language methods and features. I honestly don't have muc...

  • Douwe M.
    Douwe M. commented at 3:48 PM

    Bump. A String#truncate method would be really nice

193 Tiny String#evalScripts() improvement was updated
  • MadRabbit
    MadRabbit commented at 5:55 PM

    good point!

  • Douwe M.
    Douwe M. created the ticket at 1:02 PM

    Wouldn't

    evalScripts: function() {
      this.extractScripts(true);
      return this;
    }
    
    be a tiny bit faster for the String#evalScripts() method than what is used no...
194 times(), upto() and downto() on Functions was updated
  • Douwe M.
    Douwe M. commented at 5:50 PM

    Ok, thanks.

    It's more readable when you read it like English, yeah, but it doesn't feel right to me to run a method on a number, to do something with a function...

  • MadRabbit
    MadRabbit commented at 5:47 PM

    don't put trailing spaces in your code, and keep the brackets {} like I've changed, then it should be fine.

    As for the feature, I don't really see the advantage...

  • Douwe M.
    Douwe M. created the ticket at 1:13 PM

    Allow us to use times(), upto() and downto() on functions like this:

    var alerter = function(i) {
      alert(i);
    };


    alerter.times(4);

    Instead of having to do ...

33 Range unit was updated
  • Douwe M.
    Douwe M. commented at 3:49 PM

    Another good idea that shouldn't be too hard to implement.

4 Think about moving part of the Array extensions to an Enumerable unit was updated
  • MadRabbit
    MadRabbit commented at 3:40 PM

    I've got an idea,

    instead of defining the Enumerable module inside of the core, where it will be used just once in the Array unit, we can define it in the Lang ...

6 Implement the whitelist option for the String#stripTags method was updated
195 Include Browser.iPad property was created
  • Douwe M.
    Douwe M. created the ticket at 1:26 PM

    I think most people use the Browser.MobileSafari property to show content optimized for the iPhone's and iPod touches screen size, but with the iPad that also u...

Monday, February 15 2010
191 Use typeof value == 'undefined' for defined()... was created
  • Douwe M.
    Douwe M. created the ticket at 10:04 PM

    Use typeof value !== 'undefined' for defined() and other functions instead of value !== undefined, because the latter won't work when for some strange reason un...

190 Xhr#send fix was created
  • MadRabbit
    MadRabbit created the ticket at 7:14 PM

    Replace

    if (method == 'get') {
      url += (url.includes('?') ? '&' : '?') + data;
      data = null;
    }
    

    with

    if (method == 'get') {
      if (data) url += (url.includes...
189 IE8 event extensions was created
  • MadRabbit
    MadRabbit created the ticket at 6:34 PM

    Seems like IE8 doesn't receive the event extensions in ie8 mode

Sunday, February 14 2010
188 Xhr.IFramed form submit to another host was created
  • MadRabbit
    MadRabbit created the ticket at 3:57 PM

    When a form is submitted to another host, then the Iframed request won't have an access to the iframe content, so we need to add some try/catch construction lik...

187 Native units .include method was created
  • MadRabbit
    MadRabbit created the ticket at 1:23 PM

    We will need to create the .include methods for the native units,

    first of all because we need to wrap up the extending process, so that it didn't matter if you...

Saturday, February 13 2010
186 Typo in documentation was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 4:47 PM

    fixed

  • MadRabbit
    • Tag changed from documentation autocompleter typo to autocompleter, documentation
    by MadRabbit at 4:02 PM

    Nicely spotted! Will be fixed

  • Fer
    Fer created the ticket at 3:50 PM

    In the Autocompleter documentation, section Urls Usage the comments for the JS source states:

    "In this case the autocompleter will hit urls like this: /my/url?p...

Wednesday, February 10 2010
183 Use native ClassList functions when available was updated
  • MadRabbit
    • Tag changed from classlist, classname, element#addclass to core, dom, element
    by MadRabbit at 10:55 PM

    sounds like fun, will see what we can do about that

  • Douwe M.
    Douwe M. created the ticket at 3:07 PM

    I suggest you use the native HTML5 ClassList functions for adding, removing, checking for, and even toggling of classnames on HTML elements as described here, i...

184 Bug with Element#on was updated
  • MadRabbit
    MadRabbit commented at 10:54 PM

    Thanks for the heads up, I'll check it out

  • Douwe M.
    Douwe M. commented at 3:38 PM

    (The Markdown parser still hates me...)

  • Douwe M.
    Douwe M. created the ticket at 3:37 PM

    Shouldn't this:

    var el = $E('div');
    el.on({
      test: ['addClass', 'testing']
    });
    el.fire('test');
    
    return
    <div class="testing" />
    
    instead of
    <div class="[Obj...
185 Element#stopFx was created
  • MadRabbit
    MadRabbit created the ticket at 10:52 PM

    would be good to have a method that will terminate any ongoing visual effects on the element without necessity of keeping the Fx instances manually

Monday, February 08 2010
182 Replace 'window' -> 'self' was created
  • MadRabbit
    MadRabbit created the ticket at 5:38 PM

    should safe couple of coins too

Friday, February 05 2010
181 Write doc entries about new features in 1.5.4 was updated
  • MadRabbit
    • State changed from new to resolved
    by MadRabbit at 8:37 PM