Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Commit

Permalink
Merge branch 'release/4.2.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
Olical committed Dec 29, 2013
2 parents 96cc268 + 85844f5 commit 9554a8f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions EventEmitter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* EventEmitter v4.2.6 - git.io/ee
* EventEmitter v4.2.7 - git.io/ee
* Oliver Caldwell
* MIT license
* @preserve
Expand Down Expand Up @@ -69,7 +69,7 @@

// Return a concatenated array of all matching events if
// the selector is a regular expression.
if (typeof evt === 'object') {
if (evt instanceof RegExp) {
response = {};
for (key in events) {
if (events.hasOwnProperty(key) && evt.test(key)) {
Expand Down Expand Up @@ -322,7 +322,7 @@
// Remove all listeners for the specified event
delete events[evt];
}
else if (type === 'object') {
else if (evt instanceof RegExp) {
// Remove all events matching the regex.
for (key in events) {
if (events.hasOwnProperty(key) && evt.test(key)) {
Expand Down
4 changes: 2 additions & 2 deletions EventEmitter.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "eventEmitter",
"description": "Event based JavaScript for the browser",
"version": "4.2.6",
"version": "4.2.7",
"main": [
"./EventEmitter.js"
],
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "eventEmitter",
"repo": "Wolfy87/EventEmitter",
"description": "Event based JavaScript for the browser.",
"version": "4.2.6",
"version": "4.2.7",
"scripts": ["EventEmitter.js"],
"main": "EventEmitter.js",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wolfy87-eventemitter",
"version": "4.2.6",
"version": "4.2.7",
"description": "Event based JavaScript for the browser",
"main": "EventEmitter.js",
"directories": {
Expand Down

0 comments on commit 9554a8f

Please sign in to comment.