microscopium / microscopium-ui

Microscopium web interface.
2 stars 4 forks source link

Refactor lineplot object #69

Closed starcalibre closed 9 years ago

starcalibre commented 9 years ago

The first of the promised series of PR.. this one is an example of how I've been re-writing the plot objects. Once this one is merged, I can send PRs for the rest of the plots then start adding some new features to the UI (excite!).

I've mostly just broken up lots of the larger functions into smaller private methods. Note: JS has no true private methods, but it's convention to use the _ suffix for any method to be treated as private. (same as Python, right?)

jni commented 9 years ago

You are in like Flynn! =P