Skip to content
This repository has been archived by the owner on Mar 22, 2018. It is now read-only.

Commit

Permalink
Unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
thulio committed Sep 3, 2012
1 parent d94af2a commit 097d5d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/rasterizer.js
Expand Up @@ -66,7 +66,7 @@ service = server.listen(port, function(request, response) {
var url = request.headers.url;
var path = basePath + (request.headers.filename || (url.replace(new RegExp('https?://'), '').replace(/\//g, '.') + '.png'));
var page = new WebPage();
var delay = ~~request.headers.delay || 0;
var delay = request.headers.delay || 0;
try {
page.viewportSize = {
width: request.headers.width || defaultViewportSize.width,
Expand Down Expand Up @@ -103,4 +103,4 @@ service = server.listen(port, function(request, response) {
// must start the response now, or phantom closes the connection
response.statusCode = 200;
response.write('');
});
});

0 comments on commit 097d5d8

Please sign in to comment.