Ticket #155 (new enhancement)

Opened 2 years ago

Last modified 1 year ago

NotificationCenter code draft

Reported by: giulio.cesare@gmail.com Assigned to: somebody
Priority: low Milestone: MochiKit 1.5
Component: component1 Version:
Severity: normal Keywords:
Cc:

Description

Attached you can find the second draft of the NotificationCenter? class discussed a few days ago on this list. This is a slightly modified version of the code posted to the list a few days ago; now asynchronous notification are managed.

Besides NotificationCenter?.js, in the zip archive there are a few additional scripts (Base.js and Set.js witch impement some convenience method I have used while implementing the NotificationCenter?) and a test written using the old MochiKit test suite.

In order to test this stuff you will need to fill all the blanks: providing MochiKit and eventually JSLog libraries, fix the relative path inside the files, etc..., but this should not be a cumbersome task.

Base, Set and NotificationCenter? are in the Clipperz package, as this is the project that I am working on, but I have no problem in moving it into a more general purpose package if somebody find it useful.

Any feedback is welcome.

Attachments

NotificationCenter.zip (5.4 kB) - added by giulio.cesare@gmail.com on 08/02/06 14:29:30.

Change History

08/02/06 14:29:30 changed by giulio.cesare@gmail.com

  • attachment NotificationCenter.zip added.

05/14/07 18:45:38 changed by rsayre@mozilla.com

  • milestone set to MochiKit 1.5.

this has to be pretty out of date, but would consider for 1.5