Ticket #2528675 (closed defect)

Reporter


Eric Ferraiuolo
Opened: 03/4/10
Last modified: 07/6/11
Status: closed
Type: defect
Resolution: fixed

Owner


Adam Moore
Target Release: 3.1.0
Priority: P3 (normal)
Summary: Synthetic Event "Factory" Signature, Y.Event.define({ /* config */ }), failing
Description:

Creating a Synthetic Event via the API documented way using the Y.Event.define "factory" doesn't work.

Y.Event.define({ type: 'foo', on: function(node, sub, fireEvent){} });
fails to actually register the event with the event system.

Y.Event.define('foo', { on: function(node, sub, fireEvent){} });
does however correctly register the event.

Type: defect Observed in Version: 3.1.0 PR1
Component: Event Severity: S3 (normal)
Assigned To: Adam Moore Target Release: 3.1.0
Location: Priority: P3 (normal)
Tags: Relates To:
Browsers: N/A
URL:
Test Information:

Change History

Luke Smith

YUI Contributor

Posted: 03/4/10

type passed in config object is actually supported now. Fixes bug #2528675
View Commit:

Luke Smith

YUI Contributor

Posted: 03/4/10

type passed in config object is actually supported now. Fixes bug #2528675
View Commit:

Adam Moore

YUI Contributor

Posted: 03/4/10
  • milestone changed to 3.1.0
  • priority changed to P3 (normal)
  • status changed from new to checkedin

George

YUI Developer

Posted: 03/12/10
  • version changed from 3.1.0PR1 to 3.1.0 PR1

George

YUI Developer

Posted: 03/30/10
  • resolution changed to fixed

George

YUI Developer

Posted: 03/31/10
  • status changed from checkedin to closed

Luke Smith

YUI Contributor

Posted: 07/6/11

Y.Event.define({ type: ... }) works againnnFix regression from ticket #2528675 in commitn0e49d19b4de1c15ca77237aeba82108157749594
View Commit: 01ee8296240295151986080669aad0d4f58b3f88