Homec4science

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

Authored by Joshua Spence <josh@joshuaspence.com> on Dec 30 2014, 11:51.

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

Committed
epriestley <git@epriestley.com>Dec 30 2014, 11:51
Pushed
aubortJan 31 2017, 17:16
Parents
rPH3f0bc79e0ab1: Minor JavaScript fix
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHe6684af73cec: Let JSHint know that the `show_details` function is an exported global (authored by Joshua Spence <josh@joshuaspence.com>).Dec 30 2014, 11:51