{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel.github.io/issues/546","labels_url":"https://api.github.com/repos/babel/babel.github.io/issues/546/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel.github.io/issues/546/comments","events_url":"https://api.github.com/repos/babel/babel.github.io/issues/546/events","html_url":"https://github.com/babel/babel.github.io/issues/546","id":115582073,"number":546,"title":"'use strict' in AMD modules is in wrong place w/ babel 6","user":{"login":"tkissing","id":1177027,"avatar_url":"https://avatars.githubusercontent.com/u/1177027?v=3","gravatar_id":"","url":"https://api.github.com/users/tkissing","html_url":"https://github.com/tkissing","followers_url":"https://api.github.com/users/tkissing/followers","following_url":"https://api.github.com/users/tkissing/following{/other_user}","gists_url":"https://api.github.com/users/tkissing/gists{/gist_id}","starred_url":"https://api.github.com/users/tkissing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkissing/subscriptions","organizations_url":"https://api.github.com/users/tkissing/orgs","repos_url":"https://api.github.com/users/tkissing/repos","events_url":"https://api.github.com/users/tkissing/events{/privacy}","received_events_url":"https://api.github.com/users/tkissing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-06T20:33:49Z","updated_at":"2015-11-07T20:40:00Z","closed_at":null,"body":"With babel 5, a \"use strict\" directive is moved inside the AMD module factory like this:\r\n\r\n    define(['exports'], function (exports) {\r\n      'use strict';\r\n\r\nWith babel 6 it is put before the define call like this:\r\n\r\n    'use strict'\r\n    define(['exports'], function (exports) {\r\n\r\nThis is problematic because chances are that the generated file will be further processed by the rjs optimizer and concatenated with other files, either causing the 'use strict' from this module to bleed into other modules or becoming ineffective, depending on where in the concatenated file the 'use strict' statement ends up."},"comment":{"url":"https://api.github.com/repos/babel/babel.github.io/issues/comments/154749735","html_url":"https://github.com/babel/babel.github.io/issues/546#issuecomment-154749735","issue_url":"https://api.github.com/repos/babel/babel.github.io/issues/546","id":154749735,"user":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T20:40:00Z","updated_at":"2015-11-07T20:40:00Z","body":"No I don't think so"}}