Cross Reference: /yui3/src/oop/tests/oop.html
History log of /yui3/src/oop/tests/oop.html
Revision Date Author Comments + Modified files
7d9f4a49ef5e163b5f38d09a20f72208ab859e65 20-Oct-2011 Ryan Grove <ryan@wonko.com>

Use the new Test Console widget.

/yui3/src/autocomplete/tests/assets/test-console.css /yui3/src/autocomplete/tests/assets/test-console.js /yui3/src/autocomplete/tests/functional/autocomplete.html /yui3/src/escape/tests/assets/test-console.css /yui3/src/escape/tests/assets/test-console.js /yui3/src/escape/tests/functional/escape.html /yui3/src/event-valuechange/tests/assets/test-console.css /yui3/src/event-valuechange/tests/assets/test-console.js /yui3/src/event-valuechange/tests/functional/event-valuechange.html /yui3/src/highlight/tests/assets/test-console.css /yui3/src/highlight/tests/assets/test-console.js /yui3/src/highlight/tests/functional/highlight.html /yui3/src/history/tests/assets/test-console.css /yui3/src/history/tests/assets/test-console.js /yui3/src/history/tests/functional/history-base.html /yui3/src/history/tests/functional/history-hash.html /yui3/src/history/tests/functional/history-html5.html oop.html /yui3/src/pjax/tests/pjax.html /yui3/src/text/tests/assets/test-console.css /yui3/src/text/tests/assets/test-console.js /yui3/src/text/tests/functional/text-accentfold.html /yui3/src/text/tests/functional/text-wordbreak.html /yui3/src/yui/tests/array.html /yui3/src/yui/tests/get.html /yui3/src/yui/tests/lang.html /yui3/src/yui/tests/object.html
5c1d9e043503606aacdf14c2a39d4fce211e7c64 14-Sep-2011 Ryan Grove <ryan@wonko.com>

Y.mix() will no longer shadow prototype properties on the receiver by default. [Fixes #2530501] In 3.3.0 and earlier, when doing an object to object mix, a property "foo" on the receiver's prototype would block a property "foo" from being mixed into the receiver itself if overwrite == false. In 3.4.0, prototype properties are ignored during an object to object mix, since that's essentially the definition of what an object to object mix is (i.e., "mix things from this object [not its prototype] into that object [not its prototype]"). After much discussion and consideration, we've decided to bring back the old behavior to preserve backwards compatibility. While the old behavior violates the strict definition of an object to object mix, the new behavior violates the principle of least surprise, so the old behavior is the lesser of the two evils. One side effect of the old (and now new again) behavior that should be noted is that since shadowing of prototype properties is never allowed when overwrite is false, using Y.mix() or Y.augment() with an object or class that contains a toString() property (or any other property that exists on Object.prototype) will result in that property not being augmented. The only way to augment an object with properties that would shadow those on Object.prototype is to set the overwrite parameter to true. This caveat would also apply to properties added to Object.prototype by other JS on the page (Object.prototype.toJSON comes to mind).

ef4b6659548ee523f959373e98007d9ba8fe5cd3 14-May-2011 Ryan Grove <ryan@wonko.com>

Refactor oop tests.

162f907b0bc058a5ddc4abb9d96487a7e8054234 02-Dec-2010 Adam Moore <adamoore@yahoo-inc.com>

Fixed IE error when the delete operator was throwing for certain objects.

9982ae2753aea312f8260f66903f5cfb1d202d22 22-Feb-2010 Adam Moore <adamoore@yahoo-inc.com>

test update

/yui3/sandbox/loader/gallery.html /yui3/src/collection/tests/collection.html /yui3/src/event-custom/tests/customevent.html /yui3/src/event-simulate/tests/event-simulate.html /yui3/src/imageloader/tests/imageloader.html /yui3/src/node-focusmanager/tests/focusmanager.html /yui3/src/node-focusmanager/tests/test-01.html /yui3/src/node-focusmanager/tests/test-02.html oop.html /yui3/src/querystring/tests/io-querystring.html /yui3/src/querystring/tests/querystring.html /yui3/src/substitute/tests/substitute.html /yui3/src/test/tests/arrayassert.html /yui3/src/test/tests/mock.html /yui3/src/test/tests/objectassert.html /yui3/src/test/tests/testformat.html /yui3/src/yui/tests/array.html /yui3/src/yui/tests/core.html /yui3/src/yui/tests/lang.html /yui3/src/yui/tests/namespace.html /yui3/src/yui/tests/object.html
1a125802d0197be3a237ac2a3c92d65f37a9b115 22-Jan-2010 Adam Moore <adamoore@yahoo-inc.com>

Classes that implement an 'each' iterator like NodeList and ArrayList will have that each function executed if an instance is passed to Y.each -- this isn't new, but it was preventing these classes from using some of the inheritance functions. The inheritance functions have been fixed so that this now works. [fixes #2528555].

c744d97ebbf47004385f51ea7a2a6375ad555f75 11-Jan-2010 Adam Moore <adamoore@yahoo-inc.com>

DOMReady tweaks [fixes #2528304]. Removed redundant init code.

77233109ecd5f5823f64aed88ebfbae24c2d402f 08-Jan-2010 Adam Moore <adamoore@yahoo-inc.com>

Added Y.Array.forEach as an alias to Y.array.each in the collection package.

e8ee5956695dc217be0c3390cc987e66bb22c179 08-Jan-2010 Adam Moore <adamoore@yahoo-inc.com>

Fixed recursion problem when an object passed to Y.clone has a property that is a reference to itself.

ca65ed2d362d134af5ddb6fee437bcd2f4c681bb 08-Jan-2010 Adam Moore <adamoore@yahoo-inc.com>

restored hasOwnProperty check in merge/mix

626e12912d29abcb725be2eeb2b1fcde1cec151c 06-Nov-2009 Adam Moore <adamoore@yahoo-inc.com>

each/some do not throw when passed non-objects [fixes #2528342].

23209f57fce338501bc1dc828a991d103732b92f 18-Sep-2009 Adam Moore <adamoore@yahoo-inc.com>

Any given object is only cloned once. DOM element attributes are not cloned. [bug #2528250].

5c69c6f367621a346c43fb031885185b7555f950 17-Sep-2009 Adam Moore <adamoore@yahoo-inc.com>

Added special handling for Nodes to clone [fixes #2528250].

0771d781138a507b3e657573703f511291640bf3 12-Aug-2009 Adam Moore <adamoore@yahoo-inc.com>

Initial custom event split

/yui3/build/event-custom/event-custom-base-debug.js /yui3/build/event-custom/event-custom-base-min.js /yui3/build/event-custom/event-custom-base.js /yui3/build/event-custom/event-custom-complex-debug.js /yui3/build/event-custom/event-custom-complex-min.js /yui3/build/event-custom/event-custom-complex.js /yui3/build/event-custom/event-custom-debug.js /yui3/build/event-custom/event-custom-min.js /yui3/build/event-custom/event-custom.js /yui3/build/event/event-base-debug.js /yui3/build/event/event-base-min.js /yui3/build/event/event-base.js /yui3/build/event/event-debug.js /yui3/build/event/event-min.js /yui3/build/event/event.js /yui3/build/loader/loader-debug.js /yui3/build/loader/loader-min.js /yui3/build/loader/loader.js /yui3/sandbox/event/dom.html /yui3/src/collection/tests/collection.html /yui3/src/dump/tests/dump.html /yui3/src/event-custom/README /yui3/src/event-custom/build-base.properties /yui3/src/event-custom/build-base.xml /yui3/src/event-custom/build-complex.properties /yui3/src/event-custom/build-complex.xml /yui3/src/event-custom/build.properties /yui3/src/event-custom/build.xml /yui3/src/event-custom/js/event-custom.js /yui3/src/event-custom/js/event-facade.js /yui3/src/event-custom/js/event-target.js /yui3/src/event-custom/tests/customevent.html /yui3/src/event/js/event-facade-dom.js /yui3/src/event/tests/delegate.html /yui3/src/event/tests/dom.html /yui3/src/loader/js/loader.js oop.html /yui3/src/substitute/tests/substitute.html /yui3/src/yui/tests/array.html /yui3/src/yui/tests/core.html /yui3/src/yui/tests/lang.html /yui3/src/yui/tests/namespace.html /yui3/src/yui/tests/object.html
e275a18d7f6fd57baf841eb4c8f82d790c1ef6bd 17-Jun-2009 Adam Moore <adamoore@yahoo-inc.com>

API revamp. Corrected Event.Target and Event.Custom refs (now EventTarget and CustomEvent).

8556a973cf2503e0990811fc2b7a48193ae23149 30-Apr-2009 Adam Moore <adamoore@yahoo-inc.com>

removed context arg from Y.cached

bd4e7bf54bb629b039ba9e22ba57cf09cddce482 15-Apr-2009 Adam Moore <adamoore@yahoo-inc.com>

test update

d3c498b6d1138f87eedc0a1a4fb0f21ac713cba5 10-Apr-2009 Adam Moore <adamoore@yahoo-inc.com>

queue metadata update

ba2328a2983042c5fed38cfe42b67ec9ea3fb588 10-Apr-2009 Adam Moore <adamoore@yahoo-inc.com>

bind() supports a string representing a function to execute on the context object in order to allow subclassing of bound methods.