{"action":"created","issue":{"url":"https://api.github.com/repos/AtomicGameEngine/AtomicGameEngine/issues/639","labels_url":"https://api.github.com/repos/AtomicGameEngine/AtomicGameEngine/issues/639/labels{/name}","comments_url":"https://api.github.com/repos/AtomicGameEngine/AtomicGameEngine/issues/639/comments","events_url":"https://api.github.com/repos/AtomicGameEngine/AtomicGameEngine/issues/639/events","html_url":"https://github.com/AtomicGameEngine/AtomicGameEngine/pull/639","id":130226861,"number":639,"title":"ATOMIC-TS-WEBVIEWEDITOR","user":{"login":"shaddockh","id":2951562,"avatar_url":"https://avatars.githubusercontent.com/u/2951562?v=3","gravatar_id":"","url":"https://api.github.com/users/shaddockh","html_url":"https://github.com/shaddockh","followers_url":"https://api.github.com/users/shaddockh/followers","following_url":"https://api.github.com/users/shaddockh/following{/other_user}","gists_url":"https://api.github.com/users/shaddockh/gists{/gist_id}","starred_url":"https://api.github.com/users/shaddockh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaddockh/subscriptions","organizations_url":"https://api.github.com/users/shaddockh/orgs","repos_url":"https://api.github.com/users/shaddockh/repos","events_url":"https://api.github.com/users/shaddockh/events{/privacy}","received_events_url":"https://api.github.com/users/shaddockh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-01T01:40:08Z","updated_at":"2016-02-01T03:51:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AtomicGameEngine/AtomicGameEngine/pulls/639","html_url":"https://github.com/AtomicGameEngine/AtomicGameEngine/pull/639","diff_url":"https://github.com/AtomicGameEngine/AtomicGameEngine/pull/639.diff","patch_url":"https://github.com/AtomicGameEngine/AtomicGameEngine/pull/639.patch"},"body":"This converts the editor code that lives inside the WebView to typescript to set the stage for further work. \r\n\r\n In order to do this, Typescript needed to be upgraded to version 1.8 in order to bundle the code into a single file.  There is also a dependency on https://github.com/systemjs/systemjs which is a module loader for the web that is supported by the typescript configuration option: ```module: \"system\"```\r\n\r\nThe code has a single entrypoint called interop.ts which sets up the functions on ```window``` that the host needs to be able to reference.  Any api calls the client can call or the host can call should be placed into that interop file and wired up to the ```window``` object as necessary.\r\n\r\nAdditionally, since CEF now supports the ES6 spec, the code that is being emitted is emitted as ES6 javascript.  This allows for native support of some of the es6 features such as fat arrows, promises, etc.\r\n\r\nFinally, TS 1.8 detected some errors in the editor that were not caught in 1.7x, so those were fixed."},"comment":{"url":"https://api.github.com/repos/AtomicGameEngine/AtomicGameEngine/issues/comments/177746835","html_url":"https://github.com/AtomicGameEngine/AtomicGameEngine/pull/639#issuecomment-177746835","issue_url":"https://api.github.com/repos/AtomicGameEngine/AtomicGameEngine/issues/639","id":177746835,"user":{"login":"JoshEngebretson","id":376203,"avatar_url":"https://avatars.githubusercontent.com/u/376203?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshEngebretson","html_url":"https://github.com/JoshEngebretson","followers_url":"https://api.github.com/users/JoshEngebretson/followers","following_url":"https://api.github.com/users/JoshEngebretson/following{/other_user}","gists_url":"https://api.github.com/users/JoshEngebretson/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshEngebretson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshEngebretson/subscriptions","organizations_url":"https://api.github.com/users/JoshEngebretson/orgs","repos_url":"https://api.github.com/users/JoshEngebretson/repos","events_url":"https://api.github.com/users/JoshEngebretson/events{/privacy}","received_events_url":"https://api.github.com/users/JoshEngebretson/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T03:51:18Z","updated_at":"2016-02-01T03:51:18Z","body":"Windows decided to reboot mid-build...\r\n\r\n@AtomicBuildBot retest this please"}}