Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: 2.0
Commits on Dec 7, 2009
  1. @cpojer
  2. @cpojer

    * Specs revision

    cpojer authored
  3. @cpojer

    * Adding $name property to figure out the name of a Type

    cpojer authored
    * overloadSetter fixes
Commits on Dec 6, 2009
  1. @cpojer

    * Fixing link to submodule

    cpojer authored
  2. @cpojer
  3. @cpojer
Commits on Dec 3, 2009
  1. @kamicane

    - reworked overloads to a "key / value to object" and "value to arra…

    kamicane authored
    …y" model again.
    
     - force method is private again
Commits on Oct 6, 2009
  1. @kamicane
Commits on Sep 23, 2009
  1. @appden

    I'm not crazy about it, but removeClass should run String.clean() if …

    appden authored
    …addClass does, that's for consistency. Another option I'm thinking of is running clean() only on Element.get('class'), that seems to make sense to me!
  2. @appden

    No more slice argument for Array.from. It's not being used and makes …

    appden authored
    …the code much harder than it needs to be for the HTMLCollection case, Fabio proved that. So if you wanna slice, then call slice after you've made your array.
Commits on Sep 21, 2009
  1. @cpojer

    * Possible fix for Array.from for HTMLCollection in IE. This needs te…

    cpojer authored
    …sting once the Moo2 API is final.
Commits on Sep 15, 2009
  1. @appden

    Putting clean() back into addClass in case the user wants to check th…

    appden authored
    …is.className == 'myclass'
  2. @appden

    Caching regex for 300% performance gain in removeClass. Also using re…

    appden authored
    …gex in hasClass to be more correct because before it failed with tab separated classes, which I added a spec for. hasClass is about twice as slow on the first call when the regex is built, but after that is it around 25% faster since it is cached. I removed the clean() call from addClass as it is unnecessary now and needlessly slows down the method.
  3. @appden

    Element.removeClass needs to escape the input for the regular express…

    appden authored
    …ion. Classes can contain special characters. Added a spec to test this.
  4. @appden

    -Implemented Type.protect to allow protection of later defined Types'…

    appden authored
    … native methods
    
    - This enabled protecting Element.contains, and implementing in other browsers using Slick
    - Added document.contains to check if element is in DOM
    - Fixed and added Specs for these things
  5. @appden
Commits on Sep 14, 2009
  1. @appden
  2. @appden

    Fix some typos in Element.js

    appden authored
  3. @appden

    Revert "Array.clean uses nil." That was a mistake :-)

    appden authored
    This reverts commit 8340aa4.
  4. @appden
Commits on Sep 9, 2009
  1. @appden

    Modernized JSON. Now should be quicker, more secure, and more flexibl…

    appden authored
    …e with support for toJSON.
  2. @appden

    Array.clean uses nil.

    appden authored
Commits on Sep 4, 2009
  1. @cpojer

    * Multiple var statements ftl.

    cpojer authored
  2. @cpojer

    * Fixing removeEvent and fireEvent to behave like dom events. See htt…

    cpojer authored
    …p://mooshell.net/9CX5f/ for more information. This also removes the *ugly* (sorry Scott) way to use unshift for Array.include and makes it possible to use eventsOf everywhere again!
  3. @cpojer

    * Changing specs to run once for the Events class and once for Elemen…

    cpojer authored
    …t.Events. Both APIs should work exactly the same and therefore should be in sync, any specialities should tested outside of this. Also, cleaning up those ugly bastards!
  4. @appden

    "Queue" domready events that are added after the browser has loaded. …

    appden authored
    …This is essential for dynamically loaded scripts that have domready events added then fired before the rest of the script is loaded.
  5. @appden

    Added a spec for removing a Class event during firing and cleaned up …

    appden authored
    …Events Class specs to not inspect internal properties.
  6. @appden

    As Steida reported in #455, removing a Class event while being fired …

    appden authored
    …screws up the iteration. His solution was optimal, to store the events in reverse order and iterate backwards, however to do that I needed to add an unshift option to Array:include. Done and done.
  7. @appden

    Conforming forEach to the same behavior as the native method in Firef…

    appden authored
    …ox and Safari, which skips deleted or never-defined items. Also allowing Array:each to chain, this is consistent with the rest of the Array methods, and is consistent with other Frameworks, as well as being very helpful when using Elements, which this also affects.
  8. @appden

    As Steida reported in #539, insertBefore automatically calls appendCh…

    appden authored
    …ild if the second argument is null. I double checked this and it works. Cleaner code FTW!
Commits on Sep 3, 2009
  1. @appden

    Tiny cleanups on Event and String. Added toInt and toFloat back in, a…

    appden authored
    …s discussed with kamicane.
Commits on Sep 1, 2009
  1. @appden

    Fixes #739. Older versions of Microsoft XP only include msxml.dll and…

    appden authored
    … not msxml2.dll, there the progid of Microsoft.XMLHTTP is required. That progid should still work and point to the newer XMLHttpRequest object, but that namespace has been deprecated and *may* be dropped in the future. Please see discussion on the ticket for more info.
Commits on Aug 31, 2009
  1. @cpojer
Commits on Aug 28, 2009
  1. @appden

    Removed unnecessary argument.

    appden authored
  2. @appden
Something went wrong with that request. Please try again.