Commit Graph

81 Commits

Author SHA1 Message Date
ven
6ef9d2cda2 Merge pull request #73 from STRML/noDeopt
Prevent v8 deopt when using [].slice.call(arguments)
2019-04-09 15:29:01 +02:00
ven
092199bf0e Merge pull request #74 from bripkens/master
Avoid memory leaks by removing event arrays
2017-11-29 00:29:16 +01:00
vendethiel
187492ab80 update version & history file 2016-04-18 20:52:50 +02:00
ven
08d6393289 Merge pull request #75 from FlatIO/master
Expose Emitter if module exists
2016-03-15 11:45:06 +01:00
Julien Fouilhé
61fdd20c70 Expose Emitter if module exists 2016-02-09 17:32:07 +01:00
Ben Ripkens
aa2e57acc7 Avoid memory leaks by remove event arrays
When subscribing and then unsubscribing from many different types of events,
it can be observed that the `Emitter._callbacks` object starts to grow.
This happens because, when unsubscribing, the event specific event array
is not removed when the last subscriber unsubscribes.
2016-01-29 11:18:01 +01:00
Samuel Reed
d29511f991 Prevent v8 deopt when using [].slice.call(arguments) 2015-09-22 17:17:11 -05:00
Jonathan Ong
4d18307a2c 1.2.0 2015-02-12 10:33:32 -08:00
Naoyuki Kanezawa
b34d74c7ae fix adding events which have same names with methods of Object 2015-02-12 10:31:39 -08:00
Pavel Kornilov
7abd6b0d62 refactor .once 2014-12-26 14:07:16 -08:00
Jonathan Ong
5890152d82 Merge pull request #55 from michaelsanford/master
Add MIT license to package.json
2014-11-03 08:55:49 -08:00
Michael Sanford
9d163a5144 Add MIT license to package.json
Allows license to be read programatically.
2014-11-03 11:53:08 -05:00
Jonathan Ong
ac9b89663a use .files instead of .npmignore 2014-08-28 20:43:32 -07:00
Stephen Mathieson
27f3d7cd66 bower.json: update version to 1.1.3
Closes #50
2014-07-19 00:43:04 -04:00
Nathan Rajlich
674e375eb6 History: whitespace 2014-07-14 14:21:24 -07:00
Julian Gruber
1bd7d81f84 Release 1.1.3 2014-06-20 08:25:56 +02:00
Nathan Rajlich
2999c522a0 add LICENSE file
Closes #41.
2014-02-10 20:24:05 -08:00
Nathan Rajlich
dbad2e1cdb Release 1.1.2 2014-02-10 18:15:22 -08:00
Nathan Rajlich
39f2b5d849 History: add v1.1.1 changelog notes 2014-02-10 18:15:07 -08:00
Nathan Rajlich
82822cfe8c package: rename to "component-emitter" 2014-02-10 18:13:25 -08:00
Nathan Rajlich
204a1047cf package: update "main" and "component" fields 2014-02-10 18:12:26 -08:00
Jonathan Ong
b2d7c9be50 Merge pull request #42 from poshaughnessy/license
Add license to Readme (same format as the other components)
2014-02-10 08:42:19 -08:00
Peter O'Shaughnessy
d09675998d Add license to Readme (same format as the other components) 2014-02-10 11:10:43 +00:00
Jonathan Ong
7547b11c71 Merge pull request #38 from HaykoKoryun/patch-1
created .npmignore
2013-12-23 08:09:38 -08:00
Hayko Koryun
76e5e32c52 created .npmignore
created `.npmignore` to additionally ignore the `test` folder for __production__
2013-12-23 04:45:24 -08:00
Jonathan Ong
24ca3a05c8 travis stuff 2013-12-01 14:27:00 -08:00
Jonathan Ong
a5631018f6 1.1.1 2013-12-01 14:24:50 -08:00
Jonathan Ong
84a9ee4ec9 fix .once adding .on to the listener 2013-12-01 14:24:28 -08:00
Jonathan Ong
039f5fbee6 Merge pull request #36 from juliangruber/patch-1
docs: Emitter#off()
2013-11-30 20:06:08 -08:00
Julian Gruber
f544102278 docs: Emitter#off() 2013-11-30 23:16:22 +01:00
amir abu shareb
a14f2e39ac add .repo prop 2013-11-06 23:49:09 +02:00
Jonathan Ong
b98e1142b7 1.1.0 2013-10-20 23:03:51 -07:00
Amir Abu Shareb
7400f85e8d alias .on, .off to .addEventListener and .removeEventListener 2013-10-20 14:09:43 +03:00
Jonathan Ong
0c46bde5d1 Merge pull request #31 from btd/master
Added bower.json
2013-10-09 14:56:41 -07:00
Jonathan Ong
1590302b30 Merge pull request #29 from repoify/add/repository
Add repository field to readme
2013-10-09 14:54:59 -07:00
Denis Bardadym
2817060644 Added bower.json 2013-09-27 14:02:40 +04:00
Forbes Lindesay
57472b9978 add repository field to readme 2013-08-21 10:01:14 -07:00
TJ Holowaychuk
b0a02583d6 fix pkg.json name 2013-06-27 08:55:16 -07:00
TJ Holowaychuk
df9d9c63dc Release 1.0.1 2013-06-27 08:53:58 -07:00
TJ Holowaychuk
64244adbf6 mit 2013-03-18 14:39:44 -07:00
TJ Holowaychuk
fd7c2fa4a0 pin indexof 2013-03-15 20:12:19 -07:00
TJ Holowaychuk
c0d1ad75e3 Merge pull request #22 from rschmukler/indexof_fix
Add indexof dependency of package.json
2013-03-12 14:50:57 -07:00
Ryan Schmukler
a338b9c170 Add indexof dependency of package.json 2013-03-12 10:05:33 -07:00
Guillermo Rauch
8913da9224 Merge pull request #21 from nulltask/fix/ie
add support for legacy ie
2013-03-12 08:04:20 -07:00
nulltask
8f55f63ff5 add support for legacy ie 2013-03-03 15:25:04 +09:00
TJ Holowaychuk
caf91cfc02 Merge pull request #20 from MatthewMueller/patch-2
change name back for now
2013-02-27 17:11:00 -08:00
Matthew Mueller
37269d96e5 change name back for now
based on what we discussed, you can just as easily use this in npm with:

{ "emitter" : "component/emitter" }

though it's slightly more obscure.
2013-02-27 14:06:38 -08:00
TJ Holowaychuk
2a787907b0 history 2013-02-26 14:39:57 -08:00
TJ Holowaychuk
45d757adca typo 2013-02-26 14:39:23 -08:00
TJ Holowaychuk
9c5379b4d1 Release 1.0.0 2013-02-26 14:38:36 -08:00