Permalink
Browse files

Fix indentation and other insanity.

  • Loading branch information...
1 parent f2efa51 commit 5d1af0a6e81fe5ee889430cd332cb86741203588 @zefhemel zefhemel committed Jun 4, 2012
Showing with 9 additions and 9 deletions.
  1. +9 −9 plugins-server/cloud9.ide.revisions/revisions.js
@@ -212,17 +212,17 @@ require("util").inherits(RevisionsPlugin, Plugin);
function (next) {
var line = lines[lineCount];
if (line) {
- try {
- var revision = JSON.parse(lines[lineCount]);
- revObj[revision.ts] = revision;
- }
- catch(e) {
- error = e;
- }
+ try {
+ var revision = JSON.parse(line);
+ revObj[revision.ts] = revision;
+ }
+ catch(e) {
+ error = e;
+ }
}
lineCount++;
- next();
- },
+ next();
+ },
function (e) {
callback(error, revObj);
}

0 comments on commit 5d1af0a

Please sign in to comment.