Skip to content

Refactor all Javascript code (& Ruby) #1

Open
@ribose-jeffreylau

Description

@ribose-jeffreylau
  • 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
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions