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)

Thursday, September 02 2010
77 Classes should inherit from mixins was updated
  • John-David Dalton
    John-David Dalton commented at 5:53 PM

    FuseJS Class API

    var SomeClass = fuse.Class(superclass, plugins, mixins, statics);
    
    SomeClass.addMixins({ ... });
    
  • John-David Dalton
    John-David Dalton commented at 5:50 PM

    I didn't think of mixins like that. In fact I made them so they couldn't be used in a way to work with inheritance, (I have checks that stop it).

65 Add PrototypeJS's simplified unescapeHTML and escapeHTML methods was updated
Wednesday, August 25 2010
8 Build website was updated
  • Joe Gornick
    • State changed from new to open
    • Milestone order changed from 0 to 0
    by Joe Gornick at 10:20 AM
Thursday, August 19 2010
73 Rename fuse.dom.Element#insertBefore, insertAfter, prepend, and append was updated
Friday, July 23 2010
59 Implement global eval was updated
Tuesday, June 29 2010
77 Classes should inherit from mixins was updated
  • Radoslav Stankov
    Radoslav Stankov commented at 3:57 AM

    This could be useful (At least in Ruby is useful). The way ruby handles it is adding "something" like ghost classes which point to the mixin. In js we could use...

Monday, June 28 2010
77 Classes should inherit from mixins was updated
  • Kit Goncharov
    Kit Goncharov commented at 1:34 PM

    A possible disadvantage of doing this is that we could easily end up with a long prototype chain, especially with multiple mixins and a superclass...

  • Kit Goncharov
    Kit Goncharov created the ticket at 1:19 PM

    In Prototype and the current FuseJS API, mixins are statically added (via Object.extend) as class methods, instead of inherited and added to the prototype chain...

Monday, June 14 2010
76 Add fuse.dom.Element data getter / setter API was created
  • John-David Dalton
    John-David Dalton created the ticket at 7:10 PM

    We need to add a fuse(...).getData() / setData() for public access.
    Internally it should set fuse.dom[uid][expando + key]

Friday, June 11 2010
73 Rename fuse.dom.Element#insertBefore, insertAfter, prepend, and append was updated
  • John-David Dalton
    • Assigned user cleared.
    by John-David Dalton at 12:32 AM

    FuseJS's API goes from convenient/overloaded to very specific.
    I plan on keeping fuse.dom.Element#insert as the convenient but not necessarily speedy option.

Thursday, June 10 2010
73 Rename fuse.dom.Element#insertBefore, insertAfter, prepend, and append was updated
  • Radoslav Stankov
    • Assigned user set to John-David Dalton
    by Radoslav Stankov at 3:34 AM

    I think that prototypes Element#insert should also be available + prototype don't expose Element._insertionTranslations for adding extensions to insert. It will...

Wednesday, June 09 2010
39 Ajax: add forceMethod to the options was updated
  • Mark Caudill
    • Tag changed from ajax, patched to ajax
    by Mark Caudill at 11:34 PM
70 Add unit tests for clone() methods. was updated
  • Mark Caudill
    • Assigned user set to Mark Caudill
    by Mark Caudill at 8:43 PM
  • John-David Dalton
    • Assigned user cleared.
    by John-David Dalton at 1:42 PM
  • John-David Dalton
    John-David Dalton commented at 1:28 PM

    Also don't forget to try exlcudes with something like ['className'] and ['class'] as it should work with both.

    And please test cloning input elements and check ...

  • John-David Dalton
    John-David Dalton created the ticket at 1:14 PM

    clone(deep) methods on Array, Element, Hash, Object, Number, Range, String, and Template need unit tests.

    fuse.dom.Element#clone will also accept.

    fuse(el).clon...

35 Add exception handling to Fuse.Timer was updated
  • Mark Caudill
    • Assigned user set to Mark Caudill
    by Mark Caudill at 8:36 PM
65 Add PrototypeJS's simplified unescapeHTML and escapeHTML methods was updated
  • Kit Goncharov
    • State changed from new to open
    by Kit Goncharov at 3:51 PM

    I'll go ahead and add tests for these as well.

66 Add unit tests for fuse.Class.mixins.event custom class events. was updated
  • Kit Goncharov
    • State changed from new to open
    by Kit Goncharov at 3:50 PM

    I'll include these in my test rewrites.

67 Add fuse.Class.mixins.comparable mixin for equals() and like() methods was updated
74 Add submit, reset, focus, and blur delegation tests to the functional event t... was created
  • John-David Dalton
    John-David Dalton created the ticket at 2:07 PM

    Add submit, reset, focus, and blur delegation tests to the functional event tests at test\functional\event\index.html'

73 Rename fuse.dom.Element#insertBefore, insertAfter, prepend, and append was created
  • John-David Dalton
    John-David Dalton created the ticket at 2:03 PM

    Rename fuse.dom.Element#append to appendChild
    Rename fuse.dom.Element#prepend to prependChild
    Rename fuse.dom.Element#inertAfter to appendSibling
    Rename fuse.do...

72 Cleanup memory usage in fuse.dom.Element#update was created
  • John-David Dalton
    John-David Dalton created the ticket at 1:58 PM

    Prototype uses a new Element.purge method.

    You might want to implement that was well when cleaning up the fuse.dom.data and events associated with elements befo...

71 Add an fuse.dom.Element#destroy method was created
  • John-David Dalton
    John-David Dalton created the ticket at 1:57 PM

    Add a destroy method that removes fuse.dom.data, event handlers, and the memory leak associated with removeChild(). You have to insert the element into fuse._di...

69 stylesheet helpers API was updated
  • John-David Dalton
    • Milestone cleared.
    • Assigned user cleared.
    by John-David Dalton at 1:44 PM
  • John-David Dalton
    • Tag changed from stylesheet to enhancement, stylesheet
    by John-David Dalton at 10:23 AM
  • Radoslav Stankov
    Radoslav Stankov commented at 3:22 AM

    +1

    I think stylesheets deserve it own module, like fuse().getSheetObject(...).changeRule() and so, because you could do a powerful things with direct css classe...

20 Correct Offset methods in FuseJS was updated
  • John-David Dalton
    • Assigned user changed from Mark Caudill to John-David Dalton
    by John-David Dalton at 1:43 PM
62 Update element clone method to handle events attached to the clone. was updated
18 Update clone methods to support a deep clone option. was updated
68 Move fuse.Enumerable to fuse.Class.mixins.enumerable was updated
Tuesday, June 01 2010
11 Add Fuse.emulate() and related API was updated
  • John-David Dalton
    • State changed from new to invalid
    by John-David Dalton at 2:59 PM

    For beta we won't have an API to load emulation layers. Instead we will rely on the build system.

68 Move fuse.Enumerable to fuse.Class.mixins.enumerable was created
  • John-David Dalton
    John-David Dalton created the ticket at 2:54 PM

    Move fuse.Enumerable to fuse.Class.mixins.enumerable

67 Add fuse.Class.mixins.comparable mixin for equals() and like() methods was updated
  • John-David Dalton
    • Title changed from Add fuse.Comparable mixin for equals() and like() methods to Add fuse.Class.mixins.comparable mixin for equals() and like() methods
    by John-David Dalton at 2:53 PM
  • John-David Dalton
    John-David Dalton commented at 2:31 PM

    @Nick Thanks for the suggestion. Modified the example accordingly.

  • Nick Stakenburg
    Nick Stakenburg commented at 12:38 PM

    isEqualTo might work better with isLike, but I prefer like/equals, nice and short. I don't think you really need the 'is' prefix like you need it in names like ...

  • Joe Gornick
    Joe Gornick commented at 11:55 AM

    @T.J. Crowder good point, I should of prefaced "all" with Java and C#/.NET which are usually the two API's I like to compare against because of their popularity...

  • T.J. Crowder
    T.J. Crowder commented at 11:50 AM

    Plus, all other languages/API use the equals form

    For me, this is the persuasive argument. It may not be "all," but it's really close. :-) Java and C# both us...

11 earlier changes…
  • Joe Gornick
    Joe Gornick commented at 11:38 AM

    +1 for equals and like.

    Yes the is* syntax is more consistent with other methods like isString, however, it works there because it's a known type we are compari...

  • John-David Dalton
    John-David Dalton commented at 10:57 AM

    Sam Leb also has a version http://github.com/samleb/prototype-fruits/blob/master/src/comparable.js but I think both James' and Sam's are a bit too complex for ...

  • T.J. Crowder
    T.J. Crowder commented at 10:56 AM

    @JDD: I realize it's not touching the expression. But I've learned something here, I thought that IE skipped the name when processing the expression, but a quic...

  • John-David Dalton
    John-David Dalton commented at 10:43 AM

    @T.J. Crowder no it just clears the declarations created by JScript it doesn't clear the expressions.

  • Kit Goncharov
    Kit Goncharov commented at 10:43 AM

    @JDD: Oops. :P I should probably revert my cleanups, then...I misunderstood you earlier when we were talking about possibly removing that pattern. For my cleanu...

  • John-David Dalton
    John-David Dalton commented at 10:42 AM

    While our API does use the is prefix for methods that return a boolean it also allows verbs/adverbs without a prefix like update(), up(), down(), next(), previo...

  • T.J. Crowder
    T.J. Crowder commented at 10:41 AM

    @JDD: What purpose does all of that serve, then? The functions that end up getting bound to the property are anonymous, why bother with the names at all if you'...

  • John-David Dalton
    John-David Dalton commented at 10:35 AM

    @T.J. Crowder the named expressions are cleaned up via the var like = null, equals = null;. I keep to that pattern so that I can easily parse out the named expr...

  • T.J. Crowder
    T.J. Crowder commented at 10:32 AM

    FWIW, not being au fait with much of Fuse's API, I prefer equals and like. I've never been a fan of the isXyz naming style. If it's consistent with the rest of ...

  • Kit Goncharov
    • State changed from new to open
    • Assigned user changed from John-David Dalton to Kit Goncharov
    by Kit Goncharov at 10:24 AM

    I was just thinking about implementing something like this. :) I can go ahead and get started, if that's okay with everyone.

    With re:to naming: although 'like' ...

  • John-David Dalton
    John-David Dalton created the ticket at 10:10 AM

    Add fuse.Class.mixins.comparable mixin for equals() and like() methods.

    Do you guys like isEqual/isLike or equals/like ?

      fuse.Class.mixins.comparable = { };
    ...