Last active
April 3, 2018 08:00
-
-
Save xasima/c2bf2e6fedd5e59190fee0bab98b37bd to your computer and use it in GitHub Desktop.
Sample code for Express
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 characters
| function greeter(person) { | |
| return "Hello, " + person; | |
| } | |
| var user = "Jane"; | |
| var eventPlaceId = "greeter"; | |
| alert('hello world in JS!'); | |
| document.getElementById(eventPlaceId).innerHTML = greeter(user); | |
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 characters
| <html> | |
| <body> | |
| <h1>Testing Swagger API Call from typescripts</h1> | |
| <p id="greeter"></p> | |
| </body> | |
| <script src="js/greeter.js"></script>> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment