Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: mootools/mootools-core
base: 1.2.5
...
head fork: mootools/mootools-core
compare: 1.4.5
Checking mergeability… Don't worry, you can still create the pull request.
This comparison is big! We're only showing the most recent 250 commits
Commits on Aug 12, 2011
@arian arian Use Slick.getAttribute for getProperty 516a6ae
@cpojer cpojer Merge pull request #2023 from arian/slick-getPoperty
use Slick.getAttribute for getProperty
32d97f0
@arian arian Add specs for Array.map for arrays with an undefined last element 1a9453f
@arian arian Fix Array.map for sparse arrays where the last item is undefined fbd364e
@ibolmo ibolmo Merge pull request #16 from arian/array-map
Add specs for Array.map for arrays with an undefined last element
b483f16
@ibolmo ibolmo Merge pull request #2025 from arian/array-map
Fix Array.map for sparse arrays where the last item is undefined
8b2dc8b
@ibolmo ibolmo Updating specs. b1543a5
@arian arian Test Function:bind when the function is used as constructor
Conflicts:

	Configuration.js
690bd00
@arian arian Fixes #2004 - Fix Function:bind when the resulting function is used a…
…s constructor
1e24187
@cpojer cpojer Update Specs + fix some white space. 07a27ab
Commits on Aug 13, 2011
@arian arian Add specs for #1130 - Check if tabIndex works correctly 3c8ada9
@ibolmo ibolmo Merge pull request #17 from arian/tabindex-1130
Add specs for #1130 - Check if tabIndex works correctly
dc22c50
Commits on Aug 14, 2011
@cpojer cpojer Merge pull request #64 from arieh/FixGetPosition
Fix get position
bdbe204
Commits on Aug 16, 2011
@ibolmo ibolmo Updating Runner. d76e32a
@ibolmo ibolmo Updating specs. 2cd3193
Commits on Aug 17, 2011
@cpojer cpojer Adjustments to the Element opacity specs. 0f4697a
@cpojer cpojer Change opacity to use only native opacity if available
Does not set visibility or zoom any more if opacity is supported.
Uses filter if opacity is not supported and in IE.
Uses visibility if opacity is not supported at all.

setOpacity, getOpacity, Element.Properties.opacity were moved into 1.3compat.
0411413
Commits on Aug 18, 2011
@timwienk timwienk Request Docs tweaks. c275e44
@madisvain madisvain Removal of some confusion - request.JSON does nothing to the data whe…
…n sending it.

Issue #2029
6fe02f5
@cpojer cpojer Merge pull request #2030 from madisvain/patch-1
Removal of some confusion - request.JSON does nothing to the data when se
f7bfaef
@cpojer cpojer Add autofocus as a boolean for Element.(set|get). ee76852
@arian arian Fix trailing comma and missing semicolons fa1b235
@cpojer cpojer Merge pull request #2032 from arian/syntax-fixes
Fix trailing comma and missing semicolons
079b9b3
@arian arian Optimize Element.Properties.html.set a bit by not using `arguments` o…
…r `Array:flatten`
067d7f2
@cpojer cpojer Merge pull request #2033 from arian/element-property-html
Optimize Element.Properties.html.set a bit by not using `arguments` or `A
31ebd06
Commits on Aug 19, 2011
@cpojer cpojer Remove some Element.Event specs. 8f58b9e
@cpojer cpojer Remove Element.Events base again as we'll not need it. 8e8aa17
Commits on Aug 23, 2011
@GCheung55 GCheung55 Adding Video/Audio set/get attributes specs for loop, controls, and a…
…utoplay ONLY if browser supports video.
43ab3a2
@GCheung55 GCheung55 Adding attribute bools for html5 audio / video elements. 065683a
@arian arian Should fix ES5 Array methods with weird this-values cb2f3cf
@arian arian Specs for weird thisArgs for ES5 Array methods. pull request: #2035 9c9bdb9
@arian arian Specs for with HTML5 elements
Conflicts:

	1.4client/Element/Element.js
f75cf66
@arian arian Fix when the html contains HTML5 tags
Technique by jdbarlett: http://jdbartlett.com/innershiv/
72e0b5b
@cpojer cpojer Update Specs df9d544
@arian arian Move Delegation Docs into Core a42e816
@cpojer cpojer Minor changes to Element.Delegation documentation. a14bf6f
@cpojer cpojer Minor Element.Delegation code cleanups. 744f346
Commits on Aug 26, 2011
@cpojer cpojer Fix Element.Delegation in Intro.md b1789f0
@cpojer cpojer Removing some old leftover code. 3148c16
@cpojer cpojer Only check the loop property on video if browsers actually support it. e239a6f
@cpojer cpojer Specs Update 82dcfc8
Commits on Aug 27, 2011
@cpojer cpojer Haven't you heard? This is 1.4dev ! acda0e5
@arian arian Fixes #2041 - Add Element.Properties.values.set so it works x-browser…
… when the value attribute of option elements is not set
a0a1470
@cpojer cpojer Merge pull request #2049 from arian/element-properties-value
Fixes #2041 - Add Element.Properties.values.set so it works x-browser whe
8718443
@cpojer cpojer Change the !ES5 packager block to !ES5-bind because Safari doesn't su…
…pport bind but everything else. Makes it easier to target specific browsers.
1466b48
Commits on Aug 29, 2011
@csuwildcat csuwildcat Normalize change event for radio buttons and checkboxes in ltIE9 4522d61
@cpojer cpojer Readd internal API for custom event base function. aa3198c
Commits on Aug 30, 2011
@cpojer cpojer Add the event type to the condition in Element.Delegation (matches El…
…ement.Event).
a0b19b1
@arian arian Fix a small docs typo for Element.clone (thanks SalsaShark) bbfd6da
Commits on Aug 31, 2011
@donatj donatj Removed unessessary closing tag 61ede7a
@arian arian Merge pull request #2052 from donatj/patch-1
Removed unessessary closing tag
bb11f66
Commits on Sep 03, 2011
@cpojer cpojer Specs update for 1.4 af323e3
@arian arian Specs for Element.Properties.html for number and array values 2cca70e
@cpojer cpojer Rename Event to DOMEvent.
* Inverse the [Key, Code] map to be [Code, Key] for O(1) lookups and provide public DOMEvent.defineKey(s) API to modify them
* It is all backwards compatible to 1.2 and 1.3.
5a8a67f
@cpojer cpojer Clean up unnecessary complexity in DOM.Event and make it faster and b…
…etter.
13663b5
@arian arian Numbers are now allowed too for Element.Properties.html 22f29f5
Commits on Sep 10, 2011
@arian arian Update Slick to 1.1.6 a15e35b
@arian arian PING 1.4.0! 0d2a87a
@ibolmo ibolmo Added a developers.sh that helps with git remotes for moo devs. bc096df
Commits on Sep 13, 2011
@arian arian Fix #2066 - Fixes properties for DOMMouseScroll (mousewheel) in Firefox 3fc253e
@cpojer cpojer Merge pull request #2067 from arian/fix-mousewheel
Fix #2066 - Fixes properties for DOMMouseScroll (mousewheel) in Firefox
2c85487
@arian arian Specs for bug #2061 and pull request #2068: get('text') with text-tra…
…nsform: uppercase
87b7ae3
@arian arian Fixes #2061 - get('text') when the element has `text-transform: upper…
…case`
a83fa7b
@arian arian Merge pull request #2068 from arian/fix-2061-get-text
Fixes #2061 - get('text') when the element has `text-transform: uppercase`
724fe6c
@eerne eerne Slick.md last child example missing \! e550030
@eerne eerne Slick.md always use double quotation mark for attributes f90493e
@eerne eerne Element.Delegation.md missing ; 493159b
@eerne eerne String.md single quotation for strings 16d5792
@eerne eerne DOMEvent.md minor white space fix 9ebb374
@eerne eerne Element.md example missing ; bd22b74
@eerne eerne Request.HTML.md space police ce5db91
@arian arian Fixes weird hellip on the docs page: see http://mootools.net/docs/cor… f4cd06c
@arian arian Merge branch 'docs-fixes' 22fab9b
Commits on Sep 14, 2011
@arian arian Fixes #2070 - fix the `typeOf` docs for returned type for values like…
… `null`
fd1d6ce
Commits on Sep 20, 2011
@ibolmo ibolmo Added mootools' repo. b7b9dc2
Commits on Sep 21, 2011
@arian arian Specs for #2081 - Element.fade visibility d243f5c
@arian arian Fixes #2074 - Element.fade set the visibility to hidden again when th…
…e element is entirely faded out
11b4257
@arian arian Specs for #2078 - setting a property to undefined d0ebadf
@arian arian Fixes #2078 - When a property is set to `null` or `undefined` it shou…
…ld remove the attribute/property

For example with the `value` property setting it to `undefined` actually would set it to 'undefined' (as string)
da1ddb0
@arian arian Remove circular calles between setProperty and removeProperty 27f47e3
@cpojer cpojer Update Specs. 0f7f193
Commits on Sep 22, 2011
@cpojer cpojer Haven't you heard? This is 1.4.1dev 7eb99e2
Commits on Sep 29, 2011
@cpojer cpojer [#2093] Fix typeOf docs for event fa3224e
Commits on Sep 30, 2011
@cpojer cpojer Fix input native event in Element.Event 6f9d4ae
Commits on Oct 01, 2011
@arian arian Specs for #2092 - Delegation with fireEvent dcf45d4
@arian arian Fixes #2092 - fireEvent with delegation
- element.fireEvent('click:relay(a)') works like any other event (el.fireEvent('pizza'))
- when a event object with a target, or a second argument is passed to el.fireEvent('click')
  it will try to use the delegation.
ddc4bd8
Commits on Oct 04, 2011
@subtleGradient subtleGradient Merge pull request #2099 from arian/fix-2092-delegation
Fixes #2092 - fireEvent with delegation
e13cd4e
@arian arian Update specs d1fb257
Commits on Oct 06, 2011
@cpojer cpojer This is 1.4.1! f43daf0
@cpojer cpojer Back to dev. f0205e5
Commits on Oct 14, 2011
@anutron anutron Minor tweak to typeOf.
Long explanation: HtmlUnit (a headless browser implementation for unit testing) was barfing on typeOf whenever you called it with a string. That's because it evaluated "".$family as "falsy" despite being defined. An explicit check here solved the problem and now *most* of the unit tests for Core pass (not the ones that are fairly browser specific, like element measurements and whatnot).
22c8b41
@kamicane kamicane Merge pull request #2106 from anutron/master
Minor Tweak to TypeOf
63659d2
Commits on Oct 25, 2011
@adamnbowen adamnbowen Fix typo of "Safe"
The blog post's title is "The Dollar Safe Mode", not "The Dollar Save Mode."
9f9172a
@arian arian Merge pull request #2112 from adamnbowen/patch-2
Fix typo of "Safe" in Element docs.
f598ee8
@arian arian Fix "Dollar Safe Mode" in Element docs again. (thanks @tylermwashburn) 278d96d
Commits on Oct 29, 2011
@jonnsl jonnsl Add undocumented format option in Request Docs.
Fixed type of the data option in Request Docs.
ec6507b
Commits on Nov 15, 2011
@arian arian Fixes #2116 - Fixes broken Chain for Element.fade
Using callChain to call the other chained functions
bc77cf2
@arian arian Merge pull request #2114 from jonnsl/master
Fixes for the Request Docs
bb6a9fa
Commits on Nov 16, 2011
@cpojer cpojer Merge pull request #2124 from arian/fix-2116-fade-chain
Fixes #2116 - Fixes broken Chain for Element.fade
094428d
Commits on Nov 24, 2011
@ibolmo ibolmo Fix Element.clone for IE6: Element.id was still present after clone. 9bcf0c4
@ibolmo ibolmo Fixed clone for IE9. If you pass null to removeAttributeNode IE9 thro…
…ws: Error: Invalid pointer
343148b
@ibolmo ibolmo Passing specs, except i'm not 100% on the solution. Commiting for his…
…tory.
b16b356
@ibolmo ibolmo For the 1.3client specs, cleaned up and added more specific checks
against setting and removal of ids. Also using an outerHTML like check
instead of isEqual (IE was never good at comparing elements).

For 1.4client specs added a spec for double clone crash kill from
lighthouse issue:
https://mootools.lighthouseapp.com/projects/2706/tickets/1196
9f125b2
@ibolmo ibolmo With the updated specs, all green (related to this commit) for IE6-9 and
Chrome latest, Safari latest, Opera, Firefox 3-5.

The fix in Element.js is to overload the setter, getter, and erase to
forcibly update the id attribute (on the object) and with the attribute
node. It's unfortunate, but IE has trouble removing attributes of
cloned nodes.

We should be vigilant of other troublesome attribute nodes that might be
problematic.
49d4859
@ibolmo ibolmo Removing extra line and semi-colon fix. a65df2c
@cpojer cpojer Merge pull request #2083 from ibolmo/fix-clone
Fix Element.clone for IE6: Element.id was still present after clone.
40e3c4e
@cpojer cpojer Merge pull request #22 from ibolmo/fix-clone
Cleans and adds more Element.clone specs.
b588be5
@ibolmo ibolmo Removed extraneous comment. 15f984f
@ibolmo ibolmo Swapped subject and expected due to semantics. 2fb8412
@ibolmo ibolmo Updating specs. 3504f06
@ibolmo ibolmo Fixes 2073
Updated Request.md to include a special note about the mutual
exclusiveness of the `async` and `timeout` options in a request
instance.

Updated Request so that onTimeout is only fired iff `async` is not set
to true.
99bf8a2
@cpojer cpojer Merge pull request #2135 from ibolmo/fix-2073-request-timeout
Fixes #2073
3084b9e
@cpojer cpojer Merge pull request #2079 from ibolmo/developers-sh
Developers sh
d2c86de
Commits on Nov 25, 2011
@ibolmo ibolmo Add native _fireEvent if available.
1st reason:
https://mootools.lighthouseapp.com/projects/2706/tickets/705-no-way-to-access-native-ie-fireevent-method

2nd reason:
Our specs require access to the native fireEvent for emulating user
access actions.
57749c4
@ibolmo ibolmo All green. Removed simulateEvent usage. Added names to each spy.
IE8 had problems with the native fireEvent being trampled by
Element.Prototype. This commit assumes that an element has access to the
native fireEvent in _fireEvent.

simulateEvent is no longer necessary, and adding a name to each spy
helps with debugging jasmine reports.
e8f724a
Commits on Nov 27, 2011
@ibolmo ibolmo Refactored (1.3/1.4) Element.Event.js specs.
1st, prefering Syn.trigger versus Syn[action]. Reduces false positive if
the callback (in Syn) is never called.

2nd, createElement now uses simpler redefine of fireEvent with native
fireEvent.

3rd, updating Runner which drops the simulateEvent.
b35cc9f
@ibolmo ibolmo Refactored _fireEvent for IE6 up to IE9.
TESTED (green): IE6-9, FFx3-5, Opera 11, Safari 5, Chrome dev

IE8 and IE9 require the fireEvent to manually bound.
<IE8 just saves a copy prior to augmenting.

I tried to keep the code together, but IE didn't let up.
79c4efe
@ibolmo ibolmo Removed debug line. b2eaa7a
@cpojer cpojer Merge pull request #2138 from ibolmo/fix-2085-ie8-specs-fail
Fix #2085 ie8 specs fail
3067a87
@cpojer cpojer Merge pull request #23 from ibolmo/fix-2085-ie8-specs-fail
Refactoring Element.Event specs
863b40c
@ibolmo ibolmo Updated Runner submodule. f1c8643
@ibolmo ibolmo Updating Specs submodule 2f038d4
@ibolmo ibolmo Feature detect for mouseenter and (assume) mouseleave.
TESTED: IE6-9, Chrome latest, Firefox 3-5, 8, 10, Opera 11, Safari 5

Using Element.Delegation.html.
d6b0512
@cpojer cpojer Merge pull request #2139 from ibolmo/fix-2089-native-mouse-enter-and-…
…leave

Fix #2089. Feature detect for mouseenter and (assume) mouseleave.
cc89cb6
@ibolmo ibolmo Updated Element.Event.md to include disclosure of mouseenter and mous…
…eleave native support.
74644b1
Commits on Nov 28, 2011
@ibolmo ibolmo Fix #2000. Element.erase class and other properties later Element.get…
… the unexpected results.

Added a feature detect if the browser sets 'null' instead of null in the
attribute.

Added a `Element.Property` for class.

TESTED: Opera 11, Safari 5, Firefox 3-5, 8, 10, Chrome latest, IE6-9.
da72cc6
@ibolmo ibolmo Added Specs for Element.erase. 1bca15d
Commits on Nov 29, 2011
@ibolmo ibolmo Simpler fix for #2100.
Removed unnecessary Element.Properties.class and opted to use
propertySetter and getter. Adding for condition to set the value to ''
instead of null (IE would set to 'null').

Refactored setProperty. Now much simpler. Checks for propertySetter and
assumes it'll take responsibility in cleaning up the value (and to set
it). Still removeAttribute if no setter, and value is null. Passes all
specs, and therefore, it's backwards compatible.

PASSED: IE6-9, FFx 3-5, 8, 10, Chrome latest, Safari 5, Opera 11.
9726eff
@ibolmo ibolmo Added spec for #2108. 0f2f037
@cpojer cpojer Merge pull request #2140 from ibolmo/fix-2100-ie-element-erase-class
Fix #2100. Element.erase caused unexpected values for the attributes
edb0324
@cpojer cpojer Merge pull request #24 from ibolmo/fix-2100-ie-erase
Added Specs for Element.erase.
4fcb6c3
@ibolmo ibolmo Updating Specs 2c3f288
@ibolmo ibolmo Added spec for button.set('type', 'button') da71982
@ibolmo ibolmo Fixes #2113.
Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=14439 prevents
button.type = 'button' from working as expected. Current solution is to
use setAttribute. This fix adds propertySetter.type with setAttribute
but only for webkit.
0ecfdbe
@ibolmo ibolmo Updated old spec. 758c29d
@cpojer cpojer Merge pull request #2143 from ibolmo/fix-2113-webkit-button-type
Fixes #2113.
25afa16
@cpojer cpojer Merge pull request #25 from ibolmo/fix-2113-webkit-button-type
Added spec for button.set('type', 'button')
be46fb0
@ibolmo ibolmo Fixed spec to use Slick.uidOf 7f020f5
@ibolmo ibolmo Updated spec to check for $uid or Slick.uidOf.
This ensure specs work for 1.2 testing.

PASSED: IE6-9, Safari 5, Chrome latest, Opera 11, FFx 3-5, 8, 10
364b5d1
@cpojer cpojer Merge pull request #26 from ibolmo/fix-2118-global-uid
Updated old spec.
e250a42
@arian arian Move every file into the Specs directory 4ebf266
@arian arian Remove Specs submodule folder fa2a8c8
@arian arian Fixes #2134 - Merge branch 'specs' into fix-2134-merge-specs-submodule
Conflicts:
	.gitignore
	.gitmodules
f80ca20
@ibolmo ibolmo Merge pull request #2145 from arian/fix-2134-merge-specs-submodule
Fix #2134 merge specs submodule
27a2d5d
Commits on Nov 30, 2011
@ibolmo ibolmo Fixes #2118.
Noticed that there's no $uid dependency in Browser.js, moved to
Element.js. Removed $uid in favor of Slick.uidOf.

PASSED: IE6-9; FFx 3-5, 8, 10; Opera 11; Safari 5; Chrome latest
f726b48
@cpojer cpojer Merge pull request #2144 from ibolmo/fix-2118-global-uid
Fixes #2118.
65b1df5
Commits on Dec 01, 2011
@ibolmo ibolmo Hello 1.4.3dev 8e26ef1
@oskarkrawczyk oskarkrawczyk Issue with the example for Element.contains() 241946e
@oskarkrawczyk oskarkrawczyk Alteration to the arguments list c189ee8
@ibolmo ibolmo Merge pull request #2148 from oskarkrawczyk/master
Issue with the example for Element.contains(). Fixes #2147
e2b7f0b
Commits on Dec 03, 2011
@ibolmo ibolmo Fixes #2110.
Missing docs onFailure event called also for invalid JSON strings. Also added missing See Also section in the Request.JSON.md.
9c5d965
@thatmarvin thatmarvin Document Fx.isRunning() d034134
@ibolmo ibolmo Fixes #2117 and added missing deprecations.
Added docs for:

 Elements.append
 Elements.concat
 Elements.empty
 Elements.push
 Elements.unshift

Deprecation docs warnings for:

 Elements.extend
 Element.inject(Before, After, Bottom, Top, Inside)
 Element.grab(Before, After, Bottom, Top, Inside)

Improved docs for:

 Elements.filter
c98b508
@ibolmo ibolmo Merge pull request #2156 from thatmarvin/master
Document Fx.isRunning()
8df0b02
@ibolmo ibolmo Fixes #2121.
Addes Fx.options.frames and Fx.options.frameSkip docs.
28f434c
@ibolmo ibolmo Merge pull request #2157 from ibolmo/fix-2117-docs-Elements-Array-met…
…hod-conflicts

Fixes #2117 and added missing deprecations.
e365bcc
@ibolmo ibolmo Merge pull request #2158 from ibolmo/fix-2121-docs-Fx-frameSkip
Fixes #2121.
f6d4e91
Commits on Dec 05, 2011
@cpojer cpojer Merge pull request #2154 from ibolmo/fix-2110-docs-request-json-onfai…
…lure

Fixes #2110.
27c958b
Commits on Dec 10, 2011
@arian arian Fixes #2146 - document Element.NativeEvents, because it is useful for…
… users when new (html5) event types appear
ba51b8a
Commits on Dec 12, 2011
@ibolmo ibolmo Fixes #2109.
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
8715836
@ibolmo ibolmo Removed extra alert. 8fe6021
Commits on Dec 19, 2011
@ibolmo ibolmo Small fixes to NativeEvent docs. bb22a20
@ibolmo ibolmo Doh. Looks like 1.4.2 was not cleaning elements correctly. My bad. a1adf85
@ibolmo ibolmo Fixes 2169.
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
676f6ce
@ibolmo ibolmo Merge pull request #2177 from ibolmo/fix-2169-array-filter-mutations
Fixes 2169.
71cef50
Commits on Dec 20, 2011
@ibolmo ibolmo Merge pull request #2176 from ibolmo/hot-fix-uid-remnants
Doh. Looks like 1.4.2 was not cleaning elements correctly. My bad.
ff87c10
@arian arian Fixes #2125 - re-add undocumented from argument to Element.fade 45cd384
@ibolmo ibolmo Adds coverage for fade(0, 1) usage.
PASSED: IE6-9; FF3-5, 8, 11; Chrome latest; Safari 5; Opera 11
1959959
@ibolmo ibolmo Fixes #2155.
Added Notes and See Also for `Elements.empty` to use `Element.destroy`
when appropriate.
23143c6
Commits on Dec 24, 2011
@arian arian Fixes #2182 - Element.erase('html') should set the innerHTML to an em…
…pty string.

Element.properties.html.erase was aliased to Element.properties.html.set, but when calling it without any arguments this resulted in .set(undefined).
4adb41a
Commits on Dec 31, 2011
@jacobbednarz jacobbednarz Replaced w3schools event attributes link with MDN DOM reference
Unlike MDN, w3schools isn't up to date with the industry standards or best practices so it is not as reliable or informative.
f1de2c1
Commits on Jan 03, 2012
@cpojer cpojer Merge pull request #2190 from jacobbednarz/patch-1
Replaced w3schools event attributes link with MDN DOM reference
aeb70ac
Commits on Jan 04, 2012
@arian arian Fixes Array.append docs example, example showed the argument was chan…
…ged too, but it is not
4061b2a
@cpojer cpojer Merge pull request #2192 from arian/fix-docs-array-append
Fixes Array.append docs example
99dd290
Commits on Jan 07, 2012
@ibolmo ibolmo Merge pull request #2187 from arian/fix-2182-erase-html
Fixes #2182 - Element.erase('html') should set the innerHTML to an empty string
4086f20
@ibolmo ibolmo Updated `!html` to `html == null` 8cd88fc
Commits on Jan 08, 2012
@DimitarChristoff DimitarChristoff fix for specs for Element.Event.Change to Types/DOMEvent.js 2cafdd8
@ibolmo ibolmo Merge pull request #2167 from ibolmo/fix-2109-ie-getProperty-expando-…
…methods

Fixes #2109.
70b402e
Commits on Jan 09, 2012
@ibolmo ibolmo Fixes #2163.
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
9eb56c6
@arian arian Merge branch 'fix-2163-regression-ie7-crash' be7204a
@ibolmo ibolmo Fixes 2127.
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).
626aae4
@ibolmo ibolmo Fix specs and refactoring.
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
b317c97
@ibolmo ibolmo Aesthetic fixes, as per arian. abedec7
@ibolmo ibolmo Fixing erase('html') 1ebbd44
@ibolmo ibolmo Including arian's fixes/comments. 73b3b17
@arian arian Merge pull request #2166 from ibolmo/fix-2127-ie-leaks-Element
Fixes #2127
a64bcbd
@ibolmo ibolmo Merge pull request #2179 from ibolmo/fix-2155-elements-empty-docs
Fixes #2155.
bf35c9f
@ibolmo ibolmo Fixes #2164.
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
0b42256
@cpojer cpojer Merge pull request #2197 from ibolmo/fix-2164-element-falsey-value
Fixes #2164.
d05c9fb
Commits on Jan 18, 2012
@ibolmo ibolmo Fixes #2170.
Using DimitarChristoff's fix. See #2170 and #2172.

PASSED: IE6-9.
5fa8489
@ibolmo ibolmo Optimized the Element.Event.change condition. Added coverage non-radi…
…o inputs.
af074d3
@ibolmo ibolmo Merge pull request #2203 from ibolmo/fix-2170-ie-Element-Event-change…
…-propertychange

Fix 2170 ie element event change propertychange
bc70096
@ibolmo ibolmo Hello 1.4.4dev a55dc0d
@arian arian Fixes #2161 - Update copyright years fe9ae25
@ibolmo ibolmo Merge pull request #2205 from arian/fix-2161-copyright-years
Fixes #2161 - Update copyright years
18f8297
Commits on Jan 23, 2012
Fábio M. Costa Fixing this documentation example. Removed the example of using an id…
… as parameter since it would be kind of a bad practice (we would have to include it in the document and then pass the id to the method). As the possibility of using an id as a parameter is defined on the "Arguments" section, I don't see this as a big problem.
fc3595d
Commits on Jan 25, 2012
@arian arian Fixes #2251 - Do not overwrite the prototype methods of native types.
It overwrote the methods on the prototype to set enumerable to true, so it was possible to iterate over the methods of the prototypes of types.

Doing this, however, caused performance issues in Chrome: http://code.google.com/p/chromium/issues/detail?id=67772

To still be able to iterate over the methods, the methos array is saved in the $methods property, i.e. Array.$methods.

Methods that are later implemented, with Array.implement are enumerable and will be visible in the for-in loops.
9293d61
@umphy umphy Update Docs/Element/Element.md 5004e6e
@umphy umphy Update Docs/Element/Element.md 8474014
@umphy umphy Update Docs/Element/Element.md 7874401
@ibolmo ibolmo Merge pull request #2253 from umphy/master
Updated docs for Element.getParents
58a6ae3
@arian arian For enumerable methods of types, instead of a object.$methods array, …
…an object.forEachMethod is created, to loop over each method, including the ones that are not enumerable.

An extra check is done by propertyIsEnumerable(prop). This is an ES3 feature and is even available in IE6.
In practice though, with this use-case, this always returns false.

Tested: IE6, IE8, Android 2.3, Chrome, Firefox 3.6, Firefox 10, Opera 11.61.
974977c
@ibolmo ibolmo Merge pull request #2255 from arian/fix-2251-prototype-enumeration
Fix #2251 prototype enumeration
5b8bfdc
Commits on Jan 29, 2012
@ibolmo ibolmo Fixes #2247.
This fixes a nasty regression that custom attributes set by HTML text
(e.g. innerHTML) would previously be considered `expando` and therefore
thought to have been considered a fake attribute. Therefore, we didn't
return the value.

This fix relies now on outerHTML to check for the existence of the
attribute. Keep in mind this also fixes the previous bug of returning
custom functions since any new `el.attribute =` are not shown in
outerHTML.

PASSED: IE6-9.
d0901aa
@ibolmo ibolmo attributeWhiteList now per Element, fixed for unnested html, a little
optimization for valid attributes.

PASSED: IE6-9
54c3938
@ibolmo ibolmo Adding coverage for even more edge cases.
I enjoy a good stumping. Keep 'em coming @arian. :D
34e93df
@arian arian Merge branch 'fix-2247-ie-Element-get-custom-attribute' 2043a10
@ibolmo ibolmo Fixes #2160.
Adds coverage for Fx.Morph unit: %.
25a996a
Commits on Jan 30, 2012
@ibolmo ibolmo Fixes #2160.
Using @ryanmorr's fix for non px starting values. This fix is primarily
for FFx, but it's not very easy to feature detect this Firefox bug. Open
to suggestions.

For now, this works quite well and also covers em, and other units.

This doesn't work for getStyle since we require an ending value, and
besides we wouldn't want to do this across all units.

PASSES: IE6-9; Firefox 3-5, 8, 10; Opera 11; Chrome latest; Safari 5
955eb53
@ibolmo ibolmo Fixes 2183. Adds note to DOMEvent about event.key reliability. bf1d54c
@arian arian Fixes #2178 - A input field should keep its value even when the type …
…property is changed (in IE)
5c6b2d2
@arian arian Changed variable names of the propertySetter.type fix for IE and null…
…ed the test element.
4c0a7e8
@arian arian Remove double input.set('type', '…') spec, can't fix the thrown excep…
…tion in IE sanely.
9488171
@arian arian Add a docs note for Element.set('type', '…') in IE. 4f6981e
@ibolmotest ibolmotest Merge pull request #2188 from arian/fix-2178-set-input-type
Fixes #2178 - A input field should keep its value even when the type property is changed (in IE)
0664977
Commits on Feb 05, 2012
@arian arian Specs for #2266 and rudimentary fix.
Passes: Chrome
Fails: IE8
b3e80ee
@ibolmo ibolmo Fixes #2175
This adds an additional check to `instanceOf` that prevents extraneous
instanceof checks for non-objects (e.g. window) as per:
http://ajaxian.com/archives/working-aroung-the-instanceof-memory-leak

PASSES: IE6-9; FFx 3-5, 8, 10; Chrome latest; Safari 5; Opera 11
4613cae
@ibolmo ibolmo Added instanceOf(Element, Element) coverage and support. 1c8b43c
@arian arian Use removeAttribute in IE if the value for setStyle is ''or null.
This is the second part for using .setStyle('opacity', null); where the actual filter property is removed so it falls back to other CSS definitions.
5fba3d4
@arian arian Add packager blocks for the .setStyle('...', null); fix. 0e17e4c
@ibolmotest ibolmotest Merge pull request #2263 from ibolmo/fix-2160-fx.morph-percent-unit
Fixes #2160.
7c26dd3
Commits on Feb 06, 2012
@ibolmotest ibolmotest Adding doc for `Element.set('src')` and width/height attribute proble…
…m in IE
790d0ab
@ibolmo ibolmo Updating to Slick d7fa9f@b8 a9c73ce
@ibolmo ibolmo cpojer = smart 6f0c451
@arian arian Update Slick to 1.1.7 bd9275e
Commits on Feb 07, 2012
@ibolmotest ibolmotest Merge pull request #2264 from ibolmo/fix-2175-ie-leak-array-flatten
Fixes #2175
5223508
@ibolmotest ibolmotest Merge pull request #2274 from arian/fix-2266-style-opacity
Fix #2266 - Calling setOpacity with null does not remove the style
adb02e6
@ibolmo ibolmo Hello 1.4.5dev 9e7eb82
Commits on Feb 08, 2012
@cpojer cpojer Update overloadGetter specs, add overloadSetter specs (wtf?) 77b223c
@arian arian Fixes #2280 - Fixes Fx.CSS if the unit option is not set and add html…
… tests
0bcbb87
@arian arian Link to the static html files tests in Specs/index.html bb20c4d
@arian arian Improve Fx for units like % and em 4f1e09b
@arian arian Fx.CSS - Converts % or em to px in IE too, because getCurrentStyle re… 100ae19
Commits on Feb 09, 2012
@arian arian Wrap the Fx test with % in a div, to prevent weird IE6 behavior a4ba339
@arian arian * Fixes Fx unit option support for margins and Opera
* Removes opera hack in Element.Style, apparently it isn't necessary anymore. All specs pass.
63d61b6
@arian arian Add testcase for .fade() to the Fx test a1330c5
@ibolmotest ibolmotest Merge pull request #2282 from arian/fix-2280-fx-css-units
Fix 2280 Fx Units
e65e04b
@arian arian Remove opacity filter in IE if the opacity is 1. ef71402
@ibolmotest ibolmotest Merge pull request #2286 from arian/fix-ie-opacity-aliasing
Remove opacity filter in IE if the opacity is 1.
8d26bd4
Commits on Feb 10, 2012
@arian arian Fixes Function.prototype.overloadGetter(usePlural), when it's called …
…as getter('aa').
14512ff
Commits on Feb 12, 2012
@cpojer cpojer Merge pull request #2287 from arian/fix-overloadgetter-useplural
Fixes Function.prototype.overloadGetter(usePlural), when it's called as getter('aa')
b060531
Commits on Feb 16, 2012
@arian arian Fixes #2289 - Transform the values passed into setProperty to strings…
…, so .toString() methods are called when an object is passed.
330b1d4
@cpojer cpojer Merge pull request #2293 from arian/fix-2289-setproperty-tostring
Fixes #2289 - use '' + value for values passed into setProperty
74e3479
Commits on Feb 18, 2012
@ibolmo ibolmo Hello 1.4.6dev 702456a
Commits on Feb 24, 2012
@fabiomcosta fabiomcosta fixes and improvements on the :nth-child documentation. theres no :nt…
…h-child(last), (first) and (only). Added nth-last-child.
067de14
@fabiomcosta fabiomcosta nth-child -> nth-last-child 3b4abb2
Commits on Feb 25, 2012
@arian arian Fixes getStyle() for margins with percentages in Opera 953d6a7
@arian arian Element.getStyle() - IE returns px for width/height, like other brows…
…ers.

Specs pass in IE6/8/9, Opera, FireFox, Chrome, Safari.
FireFox returns % for margins, hence a special matcher in the specs.
3927a8a
Commits on Feb 27, 2012
@ibolmo ibolmo Merge pull request #2313 from arian/fix-getStyle-percentages-opera
Fix get style percentages opera
ab8ea88
@ibolmo ibolmo 1.4.5
There's prob a better way, but let's get this done.
ef1b390