Created
October 9, 2017 04:40
-
-
Save geoffreymcgill/65eb99f4799e9403ae7a9f03533b6b77 to your computer and use it in GitHub Desktop.
Revisions
-
geoffreymcgill created this gist
Oct 9, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ // 1. Update using statements: // Old Bridge.Html5 using Bridge.Html5; // New Retyped using static Retyped.dom; // 2. Class names should be the same: var button = new HTMLButtonElement(); // 3. All members now lowerCamelCase: // Old Bridge.Html5 button.InnerHTML = "Click Me"; Document.Body.AppendChild(button); // New Retyped button.innerHTML = "Click Me"; document.body.appendChild(button);