Homec4science

Declare `Raphael` as a global for JSHint

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

Description

Declare Raphael as a global for JSHint

Summary: Let JSHint know that Raphael is a global that can be used anywhere. This is not technically correct, but it silences a few JSHint warnings. See http://jshint.com/docs/ for more information.

Test Plan: arc lint -- webroot/rsrc/js/application/maniphest/behavior-line-chart.js

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

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

Details

Committed
epriestley <git@epriestley.com>Dec 30 2014, 11:58
Pushed
aubortJan 31 2017, 17:16
Parents
rPH6b17a5a6ca49: Fix `str` being defined as a global variable
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHdb563426156a: Declare `Raphael` as a global for JSHint (authored by Joshua Spence <josh@joshuaspence.com>).Dec 30 2014, 11:58