Permalink
Commits on Jan 18, 2012
  1. 1.4.3!

    ibolmo committed Jan 18, 2012
  2. Merge pull request #2203 from ibolmo/fix-2170-ie-Element-Event-change…

    ibolmo committed Jan 18, 2012
    …-propertychange
    
    Fix 2170 ie element event change propertychange
  3. Fixes #2170.

    ibolmo committed Jan 17, 2012
    Using DimitarChristoff's fix. See #2170 and #2172.
    
    PASSED: IE6-9.
Commits on Jan 9, 2012
  1. Fixes #2164.

    ibolmo committed Jan 9, 2012
    Changed value property setter was too strict with defaulting to an empty
    string. Now Element.set('value') for falsey values depends on toString
    of that object for setting the right value.
    
    PASSED: IE6-9; FFx 3-5, 8; 10; Safari 5; Opera 11; Chrome latest
  2. Fixing erase('html')

    ibolmo committed Jan 7, 2012
  3. Aesthetic fixes, as per arian.

    ibolmo committed Dec 19, 2011
  4. Fix specs and refactoring.

    ibolmo committed Dec 11, 2011
    Fixed a bug .get('html') bug introduced in the last commit.
    Fixed a legacy bug that always tried to fix innerHTML for some elements.
    This required a bit of refactoring of the code, so please review
    carefully.
    
    PASSED: IE6-9; FFx 3-5, 8, 10; Chrome latest; Safari 5; Opera 11
  5. Fixes 2127.

    ibolmo committed Dec 10, 2011
    Used sIEve to track leaks in Element.js. @gd0t claims that the problem
    is in Array.flatten, but I coudn't reproduce. I did find, however, that
    we had various onload/unload leaks in Element.js. Most where feature
    feature detects that were not nulled after usage.
    
    Tip: Use Function.attempt. Looks like Node references in closures are
    collected at the end of the closure. See diff.
    
    UNTESTED (next commit).
  6. Fixes #2163.

    ibolmo authored and arian committed Jan 9, 2012
    IE7 seems to have issues with assigning native functions as properties.
    Fix is to wrap the native function with an anon. func..
    
    PASSED: IE6-9; FFx 3-5, 8, 10; Chrome latest; Safari 5; Opera 11
Commits on Jan 8, 2012
Commits on Jan 7, 2012
  1. Merge pull request #2187 from arian/fix-2182-erase-html

    ibolmo committed Jan 7, 2012
    Fixes #2182 - Element.erase('html') should set the innerHTML to an empty string
Commits on Jan 4, 2012
  1. Merge pull request #2192 from arian/fix-docs-array-append

    cpojer committed Jan 4, 2012
    Fixes Array.append docs example
  2. Fixes Array.append docs example, example showed the argument was chan…

    arian committed Jan 4, 2012
    …ged too, but it is not
Commits on Jan 3, 2012
  1. Merge pull request #2190 from jacobbednarz/patch-1

    cpojer committed Jan 3, 2012
    Replaced w3schools event attributes link with MDN DOM reference
Commits on Dec 31, 2011
  1. Replaced w3schools event attributes link with MDN DOM reference

    jacobbednarz committed Dec 31, 2011
    Unlike MDN, w3schools isn't up to date with the industry standards or best practices so it is not as reliable or informative.
Commits on Dec 24, 2011
  1. Fixes #2182 - Element.erase('html') should set the innerHTML to an e…

    arian committed Dec 24, 2011
    …mpty string.
    
    Element.properties.html.erase was aliased to Element.properties.html.set, but when calling it without any arguments this resulted in .set(undefined).
Commits on Dec 20, 2011
  1. Fixes #2155.

    ibolmo committed Dec 20, 2011
    Added Notes and See Also for `Elements.empty` to use `Element.destroy`
    when appropriate.
  2. Adds coverage for fade(0, 1) usage.

    ibolmo committed Dec 20, 2011
    PASSED: IE6-9; FF3-5, 8, 11; Chrome latest; Safari 5; Opera 11
  3. Merge pull request #2176 from ibolmo/hot-fix-uid-remnants

    ibolmo committed Dec 20, 2011
    Doh. Looks like 1.4.2 was not cleaning elements correctly. My bad.
Commits on Dec 19, 2011
  1. Fixes 2169.

    ibolmo committed Dec 19, 2011
    As per spec, `Array.filter` should return the filtered items, and not
    andany possible mutation that might have occurred in the callback. See
    referenced issue for more information.
    
    Added coverage for case.
    
    PASSED: IE6-9; FF3-5, 8, 11; Chrome latest; Safari 5; Opera 11
Commits on Dec 12, 2011
  1. Removed extra alert.

    ibolmo committed Dec 12, 2011
  2. Fixes #2109.

    ibolmo committed Dec 12, 2011
    IE < 9, getAttribute returns properties set via `el.attribute = value`.
    Other browsers return null for such properties that are not part of the
    specs (e.g. `href`, `width`, or `title`).
    
    This tries to normalize the behavior and prevents unwanted "expando"
    properties from being returned (e.g. `inject` and other Element
    methods).
    
    TL;DR: whitelist any setProperty, and getProperty checks in the
    whitelist or if the attribute is an expando (not part of the known
    specs).
    
    Fixed a spec with maxlenght property, when it needed to be maxlength.
    
    PASSED: IE6-9; FFx 3-5, 8, 10, Opera 11, Chrome latest, Safari 5
Commits on Dec 10, 2011
  1. Fixes #2146 - document Element.NativeEvents, because it is useful fo…

    arian committed Dec 10, 2011
    …r users when new (html5) event types appear