BigW Consortium Gitlab

Commit e072806a by Sean McGivern

Make ESLint happy

parent 8d10add4
(global => {
global.gl = global.gl || {};
function UsagePing() {
const usageDataUrl = $('.usage-data').data('endpoint');
gl.UsagePing = function() {
var usage_data_url = $('.usage-data').data('endpoint');
$.ajax({
type: 'GET',
url: usageDataUrl,
dataType: 'html',
success(html) {
$('.usage-data').html(html);
},
});
}
$.ajax({
type: "GET",
url: usage_data_url,
dataType: "html",
success: function (html) {
$(".usage-data").html(html);
}
});
};
})(window);
window.gl = window.gl || {};
window.gl.UsagePing = UsagePing;
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