var commonFunction = (function () { return { aJax: function (e) { $.ajax({ url: e.url, data: e.data, type: e.type, dataType: "json", }) .done(e.done) .fail(function (xhr, status, errorThrown) { console.debug("실패: ", xhr, status, errorThrown); }); }, }; })();