* overloadSetter fixes
…y" model again. - force method is private again
…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!
…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.
…sting once the Moo2 API is final.
…is.className == 'myclass'
…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.
…ion. Classes can contain special characters. Added a spec to test this.
… 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
This reverts commit 8340aa4.
…e with support for toJSON.
…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!
…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!
…This is essential for dynamically loaded scripts that have domready events added then fired before the rest of the script is loaded.
…Events Class specs to not inspect internal properties.
…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.
…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.
…ild if the second argument is null. I double checked this and it works. Cleaner code FTW!
…s discussed with kamicane.
… 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.