Commit e072806a authored by Sean McGivern's avatar Sean McGivern

Make ESLint happy

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