Open
Description
-
Make sure all JS files adhere to warnings from
JSHint
(http://jshint.com/)- Put all JS code under a
function
scope where possible- Add
'use strict';
to all JS files
- Add
- Put all JS code under a
-
Remove all redundant files / code
-
Write tests for both JS and Ruby
- Make sure JS specs cover as much code as possible
-
Document where it makes sense
-
Break up JS functions that are too large into more manageable chunks, etc.