Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
d1fe3153
...
d1fe3153aa9ab4c73458258a7e3cef8208862126
authored
2012-01-05 01:05:56 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed edge case where events.EventEmitter._filters could have not been initialized to an object
1 parent
6baa46ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
modules/events.js
modules/events.js
View file @
d1fe315
...
...
@@ -218,6 +218,7 @@ EventEmitter.prototype.listeners = function(type) {
EventEmitter
.
prototype
.
filter
=
function
()
{
var
type
=
arguments
[
0
];
if
(
!
this
.
_filters
)
{
this
.
_filters
=
{};
return
;
}
var
filter
=
this
.
_filters
[
type
];
...
...
Please
register
or
sign in
to post a comment