{"action":"created","issue":{"url":"https://api.github.com/repos/msavin/Mongol/issues/97","labels_url":"https://api.github.com/repos/msavin/Mongol/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/msavin/Mongol/issues/97/comments","events_url":"https://api.github.com/repos/msavin/Mongol/issues/97/events","html_url":"https://github.com/msavin/Mongol/issues/97","id":96134618,"number":97,"title":"ReferenceError: firstToUpper is not defined","user":{"login":"abernix","id":841294,"avatar_url":"https://avatars.githubusercontent.com/u/841294?v=3","gravatar_id":"","url":"https://api.github.com/users/abernix","html_url":"https://github.com/abernix","followers_url":"https://api.github.com/users/abernix/followers","following_url":"https://api.github.com/users/abernix/following{/other_user}","gists_url":"https://api.github.com/users/abernix/gists{/gist_id}","starred_url":"https://api.github.com/users/abernix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abernix/subscriptions","organizations_url":"https://api.github.com/users/abernix/orgs","repos_url":"https://api.github.com/users/abernix/repos","events_url":"https://api.github.com/users/abernix/events{/privacy}","received_events_url":"https://api.github.com/users/abernix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-20T19:02:11Z","updated_at":"2015-08-07T13:32:27Z","closed_at":"2015-08-07T13:32:27Z","body":"Hey,\r\n\r\n``msavin:mongol                       1.1.0``\r\n\r\n**This only happens on the pro-version** (I tried again with the same project non-pro and it works fine):\r\n\r\n```\r\nException in template helper: ReferenceError: firstToUpper is not defined\r\n    at Object.Mongol.Collection (http://localhost:3200/packages/msavin_mongol.js?fa41ba1a0ec246cf6f7d836c39e686aaeafc51b1:192:97)\r\n    at Object.Template.Mongol_trash.helpers.collectionCount (http://localhost:3200/packages/meteortoys_toypro.js?92de65bdef5693b87da1407413a601753f9f882a:458:57)\r\n    at bindDataContext (http://localhost:3200/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2880:16)\r\n    at Blaze._wrapCatchingExceptions (http://localhost:3200/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:1651:16)\r\n    at http://localhost:3200/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2928:66\r\n    at Function.Template._withTemplateInstanceFunc (http://localhost:3200/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:3476:12)\r\n    at wrapHelper (http://localhost:3200/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2927:27)\r\n    at Object.Spacebars.call (http://localhost:3200/packages/spacebars.js?7bafbe05ec09b6bbb6a3b276537e4995ab298a2f:172:18)\r\n    at Template.Mongol_trash.Blaze._TemplateWith.Spacebars.include.HTML.DIV.Blaze.If.HTML.SPAN.class (http://localhost:3200/packages/meteortoys_toypro.js?92de65bdef5693b87da1407413a601753f9f882a:371:26)\r\n    at null.<anonymous> (http://localhost:3200/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2626:44)\r\n```\r\n\r\nLooks like the method is just not defined at [this line in the source](https://github.com/msavin/Mongol/blob/6212e8609a7044010cfbc6f8e559870f57746c6a/lib/common.js#L150).  It's not defined anywhere in the package, and that's not a function in my browser. :)"},"comment":{"url":"https://api.github.com/repos/msavin/Mongol/issues/comments/128699545","html_url":"https://github.com/msavin/Mongol/issues/97#issuecomment-128699545","issue_url":"https://api.github.com/repos/msavin/Mongol/issues/97","id":128699545,"user":{"login":"msavin","id":2031235,"avatar_url":"https://avatars.githubusercontent.com/u/2031235?v=3","gravatar_id":"","url":"https://api.github.com/users/msavin","html_url":"https://github.com/msavin","followers_url":"https://api.github.com/users/msavin/followers","following_url":"https://api.github.com/users/msavin/following{/other_user}","gists_url":"https://api.github.com/users/msavin/gists{/gist_id}","starred_url":"https://api.github.com/users/msavin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msavin/subscriptions","organizations_url":"https://api.github.com/users/msavin/orgs","repos_url":"https://api.github.com/users/msavin/repos","events_url":"https://api.github.com/users/msavin/events{/privacy}","received_events_url":"https://api.github.com/users/msavin/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T13:32:27Z","updated_at":"2015-08-07T13:32:27Z","body":"Corrected in 1.1.2. Going to close the issue, but please let me know if it persists."}}