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
ef3540a0
...
ef3540a0d9e7f75cda63d3d7b5a0acbec523bbee
authored
2012-05-31 20:35:52 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added an event
1 parent
3a3df80a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
modules/casper.js
modules/casper.js
View file @
ef3540a
...
...
@@ -152,6 +152,9 @@ var Casper = function Casper(options) {
this
.
on
(
'deprecated'
,
function
onDeprecated
(
message
)
{
this
.
echo
(
'[deprecated] '
+
message
,
'COMMENT'
);
});
// dispatching an event when configuration is achieved
this
.
emit
(
'init'
);
};
// Casper class is an EventEmitter
...
...
Please
register
or
sign in
to post a comment