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

Commit

Permalink
Garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Kos committed Sep 18, 2015
1 parent 01fc993 commit ad08ffd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jquery.instagram-embed-processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ InstagramEmbedProcessor.prototype._getInstagramEmbedScript = function () {
var self = this;
$.getScript(this._settings.instagramEmbedScriptUrl)
.done(function () {
self.shared.instagramLoaded.resolve();
self._shared.instagramLoaded.resolve();
})
.fail(function () {
self.shared.instagramLoaded.reject(arguments);
self._shared.instagramLoaded.reject(arguments);
console.error('Unable to load instagram embed script!', arguments);
});
}
Expand Down

0 comments on commit ad08ffd

Please sign in to comment.