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