Commit 81954a66 by NGUYEN HOANG SON

fix jqXHR.error() Deprecation

parent b6e1643d
......@@ -715,7 +715,7 @@ CHK.loadJson = function(fileName, callback) {
$.getJSON(fileName, function(json) {
console.log("load json file", fileName, json);
callback(json);
}).error(function(jqXHR, textStatus, errorThrown) {
}).fail(function(jqXHR, textStatus, errorThrown) {
console.log("エラー:" + textStatus);
console.log("テキスト:" + jqXHR.responseText);
});
......
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