{"action":"created","issue":{"url":"https://api.github.com/repos/opentx/opentx/issues/6090","repository_url":"https://api.github.com/repos/opentx/opentx","labels_url":"https://api.github.com/repos/opentx/opentx/issues/6090/labels{/name}","comments_url":"https://api.github.com/repos/opentx/opentx/issues/6090/comments","events_url":"https://api.github.com/repos/opentx/opentx/issues/6090/events","html_url":"https://github.com/opentx/opentx/issues/6090","id":348029725,"node_id":"MDU6SXNzdWUzNDgwMjk3MjU=","number":6090,"title":"Add JavaScript support?","user":{"login":"davidngrc","id":33573086,"node_id":"MDQ6VXNlcjMzNTczMDg2","avatar_url":"https://avatars2.githubusercontent.com/u/33573086?v=4","gravatar_id":"","url":"https://api.github.com/users/davidngrc","html_url":"https://github.com/davidngrc","followers_url":"https://api.github.com/users/davidngrc/followers","following_url":"https://api.github.com/users/davidngrc/following{/other_user}","gists_url":"https://api.github.com/users/davidngrc/gists{/gist_id}","starred_url":"https://api.github.com/users/davidngrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidngrc/subscriptions","organizations_url":"https://api.github.com/users/davidngrc/orgs","repos_url":"https://api.github.com/users/davidngrc/repos","events_url":"https://api.github.com/users/davidngrc/events{/privacy}","received_events_url":"https://api.github.com/users/davidngrc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-08-06T18:15:34Z","updated_at":"2018-08-10T06:37:21Z","closed_at":null,"author_association":"NONE","body":"OpenTx is written in C++\r\nLua script does not look like C++\r\nJavascript is more like C++\r\n\r\nIs it possible, implement JavaScript support in OpenTx?\r\nso more people have \"website programming skill\" can create more \"plugin\"?\r\n\r\nso many open source c++ javascript parser\r\nlike https://github.com/gfwilliams/tiny-js"},"comment":{"url":"https://api.github.com/repos/opentx/opentx/issues/comments/411989864","html_url":"https://github.com/opentx/opentx/issues/6090#issuecomment-411989864","issue_url":"https://api.github.com/repos/opentx/opentx/issues/6090","id":411989864,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTk4OTg2NA==","user":{"login":"raphaelcoeffic","id":1050031,"node_id":"MDQ6VXNlcjEwNTAwMzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1050031?v=4","gravatar_id":"","url":"https://api.github.com/users/raphaelcoeffic","html_url":"https://github.com/raphaelcoeffic","followers_url":"https://api.github.com/users/raphaelcoeffic/followers","following_url":"https://api.github.com/users/raphaelcoeffic/following{/other_user}","gists_url":"https://api.github.com/users/raphaelcoeffic/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaelcoeffic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaelcoeffic/subscriptions","organizations_url":"https://api.github.com/users/raphaelcoeffic/orgs","repos_url":"https://api.github.com/users/raphaelcoeffic/repos","events_url":"https://api.github.com/users/raphaelcoeffic/events{/privacy}","received_events_url":"https://api.github.com/users/raphaelcoeffic/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T06:37:21Z","updated_at":"2018-08-10T06:37:21Z","author_association":"MEMBER","body":"Well, JS has been used by browser for ever, which is why. But frankly, anyone with the most basic notion of programming can learn LUA is minutes. The most time is spent with the APIs rather than the language syntax itself. Even with with JS in OTX, you would still have to familiarize yourself with the API.\r\nIt took me 5mins to get my first LUA scripts with OTX working.\r\nAND, given the effort needed, I think we’d rather spend the time with other things. Anyway, if you want to have JS support, please make a PR with working code. Then I’ll look at it."}}
{"actor":{"display_login":"raphaelcoeffic"}}