Split some of the features into 'modules' to be loaded, hopefully improving performance and cleaning the code some.
Example module would be revision, which would contain undo(), redo(), updateCanvas(), and a few methods/variables to access what is currently the changes[] array.
Split some of the features into 'modules' to be loaded, hopefully improving performance and cleaning the code some.
Example module would be revision, which would contain undo(), redo(), updateCanvas(), and a few methods/variables to access what is currently the changes[] array.