Skip to content
This repository has been archived by the owner on Jul 20, 2019. It is now read-only.

Commit

Permalink
Fixed some jshint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Vittorio Vittori committed Sep 27, 2014
1 parent 9402abe commit 78c77ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ var Include = (function () {
jsonRequest.open("GET", jsonSrc);
jsonRequest.onloadend = function(jsonEvent) {
createHtmlLoaded(e, jsonEvent.currentTarget.responseText);
}
};
jsonRequest.send();
} else {
createHtmlLoaded(e);
}
}
};

var createHtmlLoaded = function(e, textContent) {
var element, json, htmlString, extension;
Expand All @@ -98,7 +98,7 @@ var Include = (function () {
if (checkRequestsStatus()) {
findElements();
}
}
};

var checkRequestsStatus = function() {
var i;
Expand Down

0 comments on commit 78c77ad

Please # to comment.