syntax-prosody-ot / main

A webapp for the syntax-prosody analyst working in Optimality Theory, with automated Gen, Con and Eval. Download build files from syntax-prosody-ot/build
https://spot.sites.ucsc.edu/
GNU General Public License v2.0
12 stars 2 forks source link

Refactor interface1.js #512

Closed jbellik closed 3 years ago

jbellik commented 3 years ago

This file's length and complexity are getting out of control. Let's try to split it up into at least the following files:

I haven't evaluated whether some of this might be hard to disentangle; if they are, we can re-evaluate this particular division of the code.

jbellik commented 3 years ago

Just start with splitting up the top level functions. If you feel up to writing an updated build script, then put the interface files into a subdirectory main/interface, and update the build script to handle this subdirectory.