Remove unnecessary `a` variable

parent 9798e681
...@@ -84,7 +84,6 @@ AnnotationSync.prototype._channelListeners = { ...@@ -84,7 +84,6 @@ AnnotationSync.prototype._channelListeners = {
cb(null, this._format(annotation)); cb(null, this._format(annotation));
}, },
'loadAnnotations': function(bodies, cb) { 'loadAnnotations': function(bodies, cb) {
var a;
var annotations; var annotations;
annotations = (function() { annotations = (function() {
...@@ -92,8 +91,7 @@ AnnotationSync.prototype._channelListeners = { ...@@ -92,8 +91,7 @@ AnnotationSync.prototype._channelListeners = {
var parsedAnnotations = []; var parsedAnnotations = [];
for (i = 0; i < bodies.length; i++) { for (i = 0; i < bodies.length; i++) {
a = bodies[i]; parsedAnnotations.push(this._parse(bodies[i]));
parsedAnnotations.push(this._parse(a));
} }
return parsedAnnotations; return parsedAnnotations;
}).call(this); }).call(this);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment