Permalink
Browse files

Style

  • Loading branch information...
1 parent 12ff635 commit ac92d7205a796bcaec2f4b44ebcd4f46c52e1b85 @brianloveswords brianloveswords committed Apr 24, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 controllers/issuer.js
  2. +1 −1 lib/baker.js
View
@@ -179,7 +179,7 @@ exports.issuerBadgeAddFromAssertion = function(req, res, next) {
// grabbing the remote badge image
var imageUrl = qualifyUrl(assertion.badge.image, assertion.badge.issuer.origin);
remote.badgeImage(imageUrl, function(err, imagedata) {
- if(err){
+ if (err){
var error_msg = "trying to grab image at url " + imageUrl + " got error " + err;
logger.error(error_msg);
return res.json({ message: error_msg }, 502);
View
@@ -31,7 +31,7 @@ exports.getDataFromImage = function(pnginput) {
var badgedata;
var err = new Error();
err.name = 'ParseError';
- try{
+ try {
badgedata = metapng.read(pnginput, KEYWORD);
}
catch (ex) {

2 comments on commit ac92d72

Contributor

stenington replied Apr 24, 2012

Ah, thanks. Hopefully one day I'll remember to do my own style check.

Contributor

brianloveswords replied Apr 24, 2012

One day hopefully you won't have to -- I'm going to do a grand style cleanup, add a .jshintrc and add a make task that runs jshint automatically with the test suite, like I'm doing with gogo -- https://github.com/brianloveswords/gogo/blob/master/.jshintrc, https://github.com/brianloveswords/gogo/blob/master/Makefile

Please sign in to comment.