For our second release for dps909, we had to pick 2 more bugs to fix. They could either be from popcorn.js, processing.js, or if you perferred, 2 bugs from one project. For my first bug, I was looking to choose one form processing.js because I felt I was bit more comfortable with processing. While reading through the tickets I stumbled on ticket #1077, being that my first bug was with the color object, I knew the problem without even looking at the code.
Solving this bug was quite simple, espcially now because we have covered javascript heavily in class since our first release. I moved the colour variable, which is a long list of colours being assigned their hex colour codes, out of the processing instance. This will result in saving memory because the list of colours does not have to be compiled during every processing instance.
So before pushing to my remote repo, I performed the necessary tests. All tests passed and I pushed to my repo, which can be found here.
