[tor-bugs] #16828 [Globe]: Fix JavaScript style issues, impose consistent spacing in JS

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Aug 16 06:25:04 UTC 2015


#16828: Fix JavaScript style issues, impose consistent spacing in JS
-----------------------+----------------------
 Reporter:  cydrobolt  |          Owner:  isis
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:
Component:  Globe      |        Version:
 Keywords:             |  Actual Points:
Parent ID:             |         Points:
-----------------------+----------------------
 This fixes many issues with JavaScript style issues in Globe. This
 especially affects spacing issues, e.g:

 `}else{` -> `} else {`
 `if(x){` -> `if (x) {`
 `for(var x....){` -> `for (var x....) {`

 `function(x){` -> `function (x) {`


 Relevant: https://contribute.jquery.org/style-guide/js/

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16828>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list