Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
24 lines
683 B
JavaScript
Executable file
24 lines
683 B
JavaScript
Executable file
/* 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));
|