HomePhabricator

Let JSHint know that the `show_details` function is an exported global

Description

Let JSHint know that the show_details function is an exported global

Summary:
The show_details function is used by DarkConsole. Adding this comment silences the following JSHint warning:

>>> Lint for webroot/rsrc/js/core/behavior-error-log.js:

   Warning  (W098) JSHintW098
    'show_details' is defined but never used.

               5
               6 var current_details = null;
               7
    >>>        8 function show_details(row) {
               9   var node = JX.$('row-details-' + row);
              10
              11   if (current_details !== null) {

Test Plan: arc lint

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11063

Details

Provenance
joshuaspenceAuthored on
epriestleyCommitted on Dec 30 2014, 10:51 AM
epriestleyPushed on Dec 30 2014, 10:51 AM
Reviewer
Blessed Reviewers
Differential Revision
D11063: Let JSHint know that the `show_details` function is an exported global
Parents
rP3f0bc79e0ab1: Minor JavaScript fix
Branches
Unknown
Tags
Unknown