Permalink
Browse files

Formatting

  • Loading branch information...
betamax committed Jan 14, 2011
1 parent 5b0e526 commit 5e6712454fff63e727b31e1e00c0a9bc1c53747c
Showing with 3 additions and 3 deletions.
  1. +3 −3 server-examples/node/server.js
@@ -59,9 +59,9 @@ app.get('/', function(req, res){
// Check if the mimetype says it is an image
var mimetype = response.headers["content-type"];
- if( mimetype == "image/gif" || mimetype == "image/jpeg" ||
- mimetype == "image/jpg" || mimetype == "image/png" ||
- mimetype == "image/tiff" ) {
+ if(mimetype == "image/gif" || mimetype == "image/jpeg" ||
+ mimetype == "image/jpg" || mimetype == "image/png" ||
+ mimetype == "image/tiff" ) {
// Create the prefix for the data URL
var type_prefix = "data:" + mimetype + ";base64,",

0 comments on commit 5e67124

Please sign in to comment.