Permalink
Browse files

matched is no more used

  • Loading branch information...
1 parent b27bc38 commit f45eef05142f9168ae665a8c529e397f26b6d091 @yohanboniface yohanboniface committed Dec 29, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 casperserver.js
View
@@ -84,11 +84,9 @@ Server.prototype._serve = function serve(request, response) {
}
// Handle response
- var matched = false,
- options = {};
+ var options = {};
for (var path in this.watchedPaths) {
if (request.url.search(path) !== -1) {
- matched = true;
options = this.watchedPaths[path];
this.log("Build response from watched path " + request.url);
break;

0 comments on commit f45eef0

Please sign in to comment.