0.1.14 • Published 8 years ago

simple-event-emitter v0.1.14

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

SEE

Simple event emitter

Install:

npm install simple-event-emitter

Usage:

SEE.AddListener("notificationEvent", handler);
SEE.FireEvent("notificationEvent");
SEE.RemoveListener("notificationEvent");

SEE.AddListener("notificationEvent", handler)
   .AddListener("buildEvent", handler)
   .AddListener("routeEvent", handler)
   .AddListener("closingEvent", handler);

SEE.FireEvent("notificationEvent")
   .FireEvent("closingEvent");

function handler() {
  console.log('Event fired!');
}

Build

To build:

npm install
webpack && webpack --no-minimize

This outputs two files to the ./dist directory.

  • see.js
  • see.min.js
0.1.14

8 years ago

0.1.13

8 years ago

0.1.12

8 years ago

0.1.10

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago