siarhei-sidorovich/siarhei-sidorovich.github.com — comment on commit 85e3a23d1b17b191b9b09ee6049a395a3300ed5b
File: 0/search.js line 0
By simanjan:

You've created wrapper for you code. It's good. But in your wrapper all code looks messy. You are operating with variables like a global variables style. Please, read once again chapter 9 of Flaningans JavaScript book.

Ideally each class/object has one responsibility. How many responsibilities it has right now? It should be re factored in mode classes have one responsibility.