customevent.html revision 80d2034f65b9348e5fd36291f03b0819181efb89
325N/A button.set("disabled", false);
325N/A var testEventTarget = new Y.Test.Case({
325N/A name: "Event.Target tests",
325N/A O.prototype = {
325N/A // pass configuration info into Event.Target with the following
325N/A Y.Assert.isTrue(this instanceof O);
325N/A Y.Assert.isTrue(arg1 === 1);
325N/A Y.Assert.isTrue(arg2 === 2);
325N/A Y.Assert.isTrue(fired);
325N/A arguments.callee.superclass.constructor.apply(this, arguments);
325N/A Y.Assert.isTrue(this instanceof Base);
325N/A Y.Assert.isTrue(arg1 === 1);
325N/A Y.Assert.isTrue(arg2 === 2);
325N/A Y.Assert.isTrue(fired);
325N/A O.prototype = {
325N/A // pass configuration info into Event.Target with the following
325N/A Y.Assert.isTrue(this instanceof O);
325N/A Y.Assert.isTrue(this instanceof O);
325N/A Y.Assert.isTrue(fired1);
325N/A // Y.Assert.isTrue(fired2);
325N/A Y.Assert.isTrue(fired1);
325N/A Y.Assert.isTrue(fired2);
325N/A Y.Test.Runner.add(testEventTarget);