Skip to content

Commit db56342

Browse files
joshuaspenceepriestley
authored and
epriestley
committed
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
1 parent 6b17a5a commit db56342

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

support/lint/jshintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
"globals": {
1818
"JX": false,
19+
"Raphael": false,
1920
"__DEV__": false
2021
},
2122
"browser": true

0 commit comments

Comments
 (0)