getJson != getJSON

This commit is contained in:
Jiiks 2015-11-01 13:51:34 +02:00
parent 6e741ba652
commit acc5d4c305
2 changed files with 3 additions and 3 deletions

View File

@ -183,7 +183,7 @@ function EmoteModule() {
}
EmoteModule.prototype.init = function() {
$.getJson("https://cdn.rawgit.com/Jiiks/betterDiscordApp/"+_hash+"/emotefilter.json", function(data) { bemotes = data.blacklist; });
$.getJSON("https://cdn.rawgit.com/Jiiks/betterDiscordApp/"+_hash+"/emotefilter.json", function(data) { bemotes = data.blacklist; });
};
EmoteModule.prototype.obsCallback = function(mutation) {
@ -713,7 +713,7 @@ Utils.prototype.jqDefer = function(fnc) {
};
Utils.prototype.getHash = function() {
$.getJson("https://api.github.com/repos/Jiiks/BetterDiscordApp/commits/master", function(data) {
$.getJSON("https://api.github.com/repos/Jiiks/BetterDiscordApp/commits/master", function(data) {
_hash = data.sha;
});

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long