neurosynth / nsviewer

Neurosynth viewer
28 stars 22 forks source link

Singleton pattern? #4

Closed njvack closed 11 years ago

njvack commented 11 years ago

Heya,

I'm wondering about your reasoning behind making Viewer a singleton class -- I can see having two synchronized views for comparison purposes.

If I made it a non-singleton, would you be sad?

tyarkoni commented 11 years ago

I don't remember if I had any good reason for going singleton, but I agree having multiple viewers could be handy, so no sadness--go for it!