{"issue":{"state":"closed","created_at":"2011-11-28T19:27:45Z","updated_at":"2011-11-30T18:19:37Z","comments":6,"user":{"gravatar_id":"2e1599d22dce3e1661b6e63e8514b38e","id":155633,"url":"https://api.github.com/users/millermedeiros","avatar_url":"https://secure.gravatar.com/avatar/2e1599d22dce3e1661b6e63e8514b38e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"millermedeiros"},"body":"sometimes I have templates with the same name as the module itself and stored at the same folder..\r\n\r\n```js\r\n// foo/bar.js\r\ndefine(['hbs!./bar'], function(template){\r\n  // never load since \"bar\" will timeout\r\n});\r\n```\r\n\r\nthis will work:\r\n\r\n```js\r\n// foo/bar.js\r\ndefine(['hbs!./bar-template'], function(template){\r\n  // loads template\r\n});","assignee":null,"id":2372247,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"number":2,"title":"if template has the same name as module it will fail to load","closed_at":"2011-11-30T18:02:53Z","html_url":"https://github.com/SlexAxton/require-handlebars-plugin/issues/2","url":"https://api.github.com/repos/SlexAxton/require-handlebars-plugin/issues/2","milestone":null},"action":"created","comment":{"created_at":"2011-11-30T18:19:37Z","updated_at":"2011-11-30T18:19:37Z","user":{"gravatar_id":"2e1599d22dce3e1661b6e63e8514b38e","id":155633,"url":"https://api.github.com/users/millermedeiros","avatar_url":"https://secure.gravatar.com/avatar/2e1599d22dce3e1661b6e63e8514b38e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"millermedeiros"},"body":"I will take a look when I have some time (completely swamped today, working in 3 projects at once..) expect more opinions and refactoring :D  this plugin is indeed \"my favorite plugin ever\" templates are so much easier to use.. and thx for  explaining how things work, the sad part of it is that now it isn't as \"magical\" anymore.. :P","id":2963773,"url":"https://api.github.com/repos/SlexAxton/require-handlebars-plugin/issues/comments/2963773"}}