{"action":"created","issue":{"url":"https://api.github.com/repos/riot/compiler/issues/19","labels_url":"https://api.github.com/repos/riot/compiler/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/riot/compiler/issues/19/comments","events_url":"https://api.github.com/repos/riot/compiler/issues/19/events","html_url":"https://github.com/riot/compiler/issues/19","id":115938399,"number":19,"title":"babel and 'use strict'","user":{"login":"appedemic","id":3819227,"avatar_url":"https://avatars.githubusercontent.com/u/3819227?v=3","gravatar_id":"","url":"https://api.github.com/users/appedemic","html_url":"https://github.com/appedemic","followers_url":"https://api.github.com/users/appedemic/followers","following_url":"https://api.github.com/users/appedemic/following{/other_user}","gists_url":"https://api.github.com/users/appedemic/gists{/gist_id}","starred_url":"https://api.github.com/users/appedemic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appedemic/subscriptions","organizations_url":"https://api.github.com/users/appedemic/orgs","repos_url":"https://api.github.com/users/appedemic/repos","events_url":"https://api.github.com/users/appedemic/events{/privacy}","received_events_url":"https://api.github.com/users/appedemic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-09T18:41:00Z","updated_at":"2015-11-09T20:47:05Z","closed_at":null,"body":"When using the babel compiler (babel 6), babel adds a \"use strict\" to the code, which is removed by the riot-compiler. My babel version however, outputs 'use strict' with single quotes, which is not caught by the regex. \r\n\r\nI've created a patch and also added a test case for the babel this issue (#15). It passes, but comes awfully close to the 2000ms cutoff on my machine."},"comment":{"url":"https://api.github.com/repos/riot/compiler/issues/comments/155188096","html_url":"https://github.com/riot/compiler/issues/19#issuecomment-155188096","issue_url":"https://api.github.com/repos/riot/compiler/issues/19","id":155188096,"user":{"login":"appedemic","id":3819227,"avatar_url":"https://avatars.githubusercontent.com/u/3819227?v=3","gravatar_id":"","url":"https://api.github.com/users/appedemic","html_url":"https://github.com/appedemic","followers_url":"https://api.github.com/users/appedemic/followers","following_url":"https://api.github.com/users/appedemic/following{/other_user}","gists_url":"https://api.github.com/users/appedemic/gists{/gist_id}","starred_url":"https://api.github.com/users/appedemic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appedemic/subscriptions","organizations_url":"https://api.github.com/users/appedemic/orgs","repos_url":"https://api.github.com/users/appedemic/repos","events_url":"https://api.github.com/users/appedemic/events{/privacy}","received_events_url":"https://api.github.com/users/appedemic/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T20:47:05Z","updated_at":"2015-11-09T20:47:05Z","body":"I did but travis is failing and the babel is complaining about the \"presets\". Could it be that the travis tests are only run using babel 5.x?"}}