freeCodeCamp / COM1000

freeCodeCamp's deprecated challenge editor
19 stars 16 forks source link

Fix solutions seperators, unbreak everything else #32

Closed SaintPeter closed 8 years ago

SaintPeter commented 8 years ago

The multi-solution "fix" had two unfortunate side effects:

  1. It utterly broke anything else that was an array of strings - they would no longer be broken up by their \n, as required by all prior cases.
  2. Every time you loaded/saved, you'd get an extra solution line.

I changed the code to work more like the EOL solution.

terakilobyte commented 8 years ago

Lgtm :+1: