autarkper/Cinnamon — pull request #15 by Lusito (2013-02-10 16:52:25+00:00)
Title: Connector refactored

This is how I'd do it.
I moved all methods to the class prototype since otherwise it would create new functions on every new class instance.