{"comment":{"url":"https://api.github.com/repos/Deepaligandhi/telegram-server/comments/10989226","html_url":"https://github.com/Deepaligandhi/telegram-server/commit/39dec9a97665bbce4fa08e944a830b3706d48573#commitcomment-10989226","id":10989226,"user":{"login":"vladberteanu","id":738478,"avatar_url":"https://avatars.githubusercontent.com/u/738478?v=3","gravatar_id":"","url":"https://api.github.com/users/vladberteanu","html_url":"https://github.com/vladberteanu","followers_url":"https://api.github.com/users/vladberteanu/followers","following_url":"https://api.github.com/users/vladberteanu/following{/other_user}","gists_url":"https://api.github.com/users/vladberteanu/gists{/gist_id}","starred_url":"https://api.github.com/users/vladberteanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladberteanu/subscriptions","organizations_url":"https://api.github.com/users/vladberteanu/orgs","repos_url":"https://api.github.com/users/vladberteanu/repos","events_url":"https://api.github.com/users/vladberteanu/events{/privacy}","received_events_url":"https://api.github.com/users/vladberteanu/received_events","type":"User","site_admin":false},"position":5,"line":5,"path":"db/index.js","commit_id":"39dec9a97665bbce4fa08e944a830b3706d48573","created_at":"2015-04-30T17:11:49Z","updated_at":"2015-04-30T17:11:49Z","body":"I think it looks nicer if you define all your imports at the beginning of the file.\r\n\r\nHere's a nice pattern:\r\n\r\n```javascript\r\nvar mongoose      = require('mongoose'\r\n   , userSchema   = require('./schemas/user\r\n  , postSchema    = require ('./schemas/post')\r\n```"}}