{"action":"opened","issue":{"url":"https://api.github.com/repos/systemjs/builder/issues/344","labels_url":"https://api.github.com/repos/systemjs/builder/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/systemjs/builder/issues/344/comments","events_url":"https://api.github.com/repos/systemjs/builder/issues/344/events","html_url":"https://github.com/systemjs/builder/issues/344","id":110249135,"number":344,"title":"\"var define\" breaks builder logic","user":{"login":"finom","id":1082083,"avatar_url":"https://avatars.githubusercontent.com/u/1082083?v=3","gravatar_id":"","url":"https://api.github.com/users/finom","html_url":"https://github.com/finom","followers_url":"https://api.github.com/users/finom/followers","following_url":"https://api.github.com/users/finom/following{/other_user}","gists_url":"https://api.github.com/users/finom/gists{/gist_id}","starred_url":"https://api.github.com/users/finom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finom/subscriptions","organizations_url":"https://api.github.com/users/finom/orgs","repos_url":"https://api.github.com/users/finom/repos","events_url":"https://api.github.com/users/finom/events{/privacy}","received_events_url":"https://api.github.com/users/finom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-07T15:19:39Z","updated_at":"2015-10-07T15:19:39Z","closed_at":null,"body":"This is about \"Uncaught Module X not present.\" as well but this is another bug. When you define ``define`` variable somewhere, the builder doesn't work correctly.\r\n\r\n```js\r\n(function() {\r\n   var f = function() {\r\n      var define = 'this variable is not about AMD stuff';\r\n   }\r\n\r\n   define(function() {\r\n      // AMD stuff \r\n   });\r\n})();\r\n```\r\n"}}