Project

General

Profile

Actions

Story #4128

open

[Workbench] [refactor] JavaScript refactoring

Added by Tim Pierce about 10 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Workbench
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

Some JavaScript maintenance we need in Workbench:

  • As much code as possible should be refactored out of views into their own assets.
  • Do not embed Ruby code in JavaScript. Ruby values should be passed only into variable assignments and function arguments, to minimize the risk of injection attacks.
  • Refactor JS code with an eye toward making unit testing possible.
Actions

Also available in: Atom PDF