{"action":"created","issue":{"url":"https://api.github.com/repos/jrburke/r.js/issues/776","labels_url":"https://api.github.com/repos/jrburke/r.js/issues/776/labels{/name}","comments_url":"https://api.github.com/repos/jrburke/r.js/issues/776/comments","events_url":"https://api.github.com/repos/jrburke/r.js/issues/776/events","html_url":"https://github.com/jrburke/r.js/issues/776","id":56835987,"number":776,"title":"Update to esprima 2.0","user":{"login":"jrburke","id":73359,"avatar_url":"https://avatars.githubusercontent.com/u/73359?v=3","gravatar_id":"","url":"https://api.github.com/users/jrburke","html_url":"https://github.com/jrburke","followers_url":"https://api.github.com/users/jrburke/followers","following_url":"https://api.github.com/users/jrburke/following{/other_user}","gists_url":"https://api.github.com/users/jrburke/gists{/gist_id}","starred_url":"https://api.github.com/users/jrburke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrburke/subscriptions","organizations_url":"https://api.github.com/users/jrburke/orgs","repos_url":"https://api.github.com/users/jrburke/repos","events_url":"https://api.github.com/users/jrburke/events{/privacy}","received_events_url":"https://api.github.com/users/jrburke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jrburke/r.js/milestones/33","labels_url":"https://api.github.com/repos/jrburke/r.js/milestones/33/labels","id":781463,"number":33,"title":"2.1.16","description":null,"creator":{"login":"jrburke","id":73359,"avatar_url":"https://avatars.githubusercontent.com/u/73359?v=3","gravatar_id":"","url":"https://api.github.com/users/jrburke","html_url":"https://github.com/jrburke","followers_url":"https://api.github.com/users/jrburke/followers","following_url":"https://api.github.com/users/jrburke/following{/other_user}","gists_url":"https://api.github.com/users/jrburke/gists{/gist_id}","starred_url":"https://api.github.com/users/jrburke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrburke/subscriptions","organizations_url":"https://api.github.com/users/jrburke/orgs","repos_url":"https://api.github.com/users/jrburke/repos","events_url":"https://api.github.com/users/jrburke/events{/privacy}","received_events_url":"https://api.github.com/users/jrburke/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":8,"state":"open","created_at":"2014-09-07T23:40:36Z","updated_at":"2015-02-10T02:03:18Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-02-06T16:46:46Z","updated_at":"2015-02-12T03:28:16Z","closed_at":"2015-02-07T19:28:46Z","body":"It is an official release and supports some es6 features."},"comment":{"url":"https://api.github.com/repos/jrburke/r.js/issues/comments/74011731","html_url":"https://github.com/jrburke/r.js/issues/776#issuecomment-74011731","issue_url":"https://api.github.com/repos/jrburke/r.js/issues/776","id":74011731,"user":{"login":"philix","id":207795,"avatar_url":"https://avatars.githubusercontent.com/u/207795?v=3","gravatar_id":"","url":"https://api.github.com/users/philix","html_url":"https://github.com/philix","followers_url":"https://api.github.com/users/philix/followers","following_url":"https://api.github.com/users/philix/following{/other_user}","gists_url":"https://api.github.com/users/philix/gists{/gist_id}","starred_url":"https://api.github.com/users/philix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philix/subscriptions","organizations_url":"https://api.github.com/users/philix/orgs","repos_url":"https://api.github.com/users/philix/repos","events_url":"https://api.github.com/users/philix/events{/privacy}","received_events_url":"https://api.github.com/users/philix/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T03:28:16Z","updated_at":"2015-02-12T03:28:16Z","body":"I'm still having problems with `\"use strict\"` strings on http://github.com/philix/jsx-requirejs-plugin. I pushed a branch with the new `requirejs` and Facebook's original `JSXTransformer.js` [1]. I was optimistic that it would work and didn't try it before the requirejs release, but for some reason it doesn't. I wonder if esprima 2.0 can really handle \"use strict\" string literals.\r\n\r\n```\r\n$ node r.js -v\r\nr.js: 2.1.16, RequireJS: 2.1.16, UglifyJS2: 2.4.16, UglifyJS: 1.3.4\r\n$ node r.js -o build.js\r\n\r\nTracing dependencies for: main\r\nError: Parse error using esprima for file: /Users/felipe/code/jsx-requirejs-plugin/build_js/JSXTransformer.js\r\nError: Line 11877: Unexpected token if\r\nIn module tree:\r\n    main\r\n      jsx\r\n\r\nError: Error: Parse error using esprima for file: /Users/felipe/code/jsx-requirejs-plugin/build_js/JSXTransformer.js\r\nError: Line 11877: Unexpected token if\r\nIn module tree:\r\n    main\r\n      jsx\r\n\r\n    at /Users/felipe/code/jsx-requirejs-plugin/r.js:26148:47\r\n```\r\n\r\n[1] https://github.com/philix/jsx-requirejs-plugin/tree/esprima2"}}