{"comment":{"url":"https://api.github.com/repos/500tech/bdsm/comments/15156160","html_url":"https://github.com/500tech/bdsm/commit/e39b84922d41ea988fad21ae7a17db1794efee71#commitcomment-15156160","id":15156160,"user":{"login":"alexilyaev","id":480469,"avatar_url":"https://avatars.githubusercontent.com/u/480469?v=3","gravatar_id":"","url":"https://api.github.com/users/alexilyaev","html_url":"https://github.com/alexilyaev","followers_url":"https://api.github.com/users/alexilyaev/followers","following_url":"https://api.github.com/users/alexilyaev/following{/other_user}","gists_url":"https://api.github.com/users/alexilyaev/gists{/gist_id}","starred_url":"https://api.github.com/users/alexilyaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexilyaev/subscriptions","organizations_url":"https://api.github.com/users/alexilyaev/orgs","repos_url":"https://api.github.com/users/alexilyaev/repos","events_url":"https://api.github.com/users/alexilyaev/events{/privacy}","received_events_url":"https://api.github.com/users/alexilyaev/received_events","type":"User","site_admin":false},"position":5,"line":24,"path":"lib/ui/app.js","commit_id":"e39b84922d41ea988fad21ae7a17db1794efee71","created_at":"2015-12-24T18:50:53Z","updated_at":"2015-12-24T18:50:53Z","body":"There are 2 ways to use it:\n1. Directly, as u did, and then there's no need for constant. This is\ntightly coupled to Webpack and also a bit confusing for new comets as for\ndid it came from.\n2. Use it only to define a constant plus a comment on where it comes from.\nFixes tge above.\n\nI usef to use #1, but then the guys offered to use #2, and now it sounds\nmore logical.\nOn Dec 24, 2015 2:34 PM, \"Maayan Glikser\" <notifications@github.com> wrote:\n\n> Why not? I didn't see it defined anywhere\n>\n> On Thu, Dec 24, 2015, 14:15 Alex Ilyaev <notifications@github.com> wrote:\n>\n> > @morsdyce <https://github.com/morsdyce> The whole point was to not use\n> it\n> > directly, and ENV.production should be true only after a build.\n> >\n> > —\n> > Reply to this email directly or view it on GitHub\n> > <\n> https://github.com/500tech/bdsm/commit/e39b84922d41ea988fad21ae7a17db1794efee71#commitcomment-15153364\n> >\n> > .\n> >\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/500tech/bdsm/commit/e39b84922d41ea988fad21ae7a17db1794efee71#commitcomment-15153513>\n> .\n>\n"}}