define([ "jquery", "underscore", "classes/Extension" ], function ($, _, Extension) { var workingIndicator = new Extension("workingIndicator", "Working Indicator"); var $bodyElt; var $workingIndicatorElt; workingIndicator.onAsyncRunning = function (isRunning) { $bodyElt.toggleClass("working", isRunning); $workingIndicatorElt.toggleClass("hide", !isRunning); }; workingIndicator.onReady = function () { $bodyElt = $(document.body); $workingIndicatorElt = $('