{"issue":{"created_at":"2011-11-22T05:15:20Z","state":"open","updated_at":"2011-11-23T04:25:36Z","user":{"gravatar_id":"5d118c8211b29117f9c4976e3adfb75a","id":740268,"url":"https://api.github.com/users/benekastah","login":"benekastah","avatar_url":"https://secure.gravatar.com/avatar/5d118c8211b29117f9c4976e3adfb75a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":2,"body":"The README example says that you can bundle scripts into a name like so:\r\n\r\n```javascript\r\n$script(['foo.js', 'bar.js'], 'bundle')\r\n```\r\n\r\nHowever, this does not seem to be working at the moment. I stepped through the code, but was having trouble determining where a bundled namespace is set or looked up.","assignee":null,"id":2314595,"labels":[],"number":30,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Bundling no longer working??","closed_at":null,"html_url":"https://github.com/ded/script.js/issues/30","milestone":null,"url":"https://api.github.com/repos/ded/script.js/issues/30"},"action":"created","comment":{"created_at":"2011-11-23T04:25:36Z","updated_at":"2011-11-23T04:25:36Z","user":{"gravatar_id":"5d118c8211b29117f9c4976e3adfb75a","id":740268,"url":"https://api.github.com/users/benekastah","login":"benekastah","avatar_url":"https://secure.gravatar.com/avatar/5d118c8211b29117f9c4976e3adfb75a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Yes. I have this code:\r\n\r\n```javascript\r\nvar $script;\r\n$script = require('scriptjs');\r\n$script.path(\"/js/\");\r\n$script(['_mixins', 'map'], 'lib');\r\n$script('lib', function() {\r\n  // do stuff here...\r\n});\r\n```\r\n\r\nWhich produces the error `GET http://localhost:8080/js/lib.js 404 (Not Found)` in my browser console. I'm using the latest release of Google Chrome, just in case that matters.","id":2844850,"url":"https://api.github.com/repos/ded/script.js/issues/comments/2844850"}}