VulpesOS/assets/webapps/system.gaiamobile.org/js/debugging_icon.js
OverSu b38dea0597 Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
2026-09-30 23:13:03 +02:00

24 lines
683 B
JavaScript

/* global BaseIcon */
'use strict';
(function(exports) {
var DebuggingIcon = function(manager) {
BaseIcon.call(this, manager);
};
DebuggingIcon.prototype = Object.create(BaseIcon.prototype);
DebuggingIcon.prototype.name = 'DebuggingIcon';
DebuggingIcon.prototype.shouldDisplay = function() {
return this.manager.enabled;
};
DebuggingIcon.prototype.view = function view() {
return `<div id="statusbar-debugging"
data-icon="bug"
data-l10n-id="statusbarDebugging"
class="sb-icon sb-icon-debugging" hidden
role="listitem">
</div>`;
};
exports.DebuggingIcon = DebuggingIcon;
}(window));