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
| <head> | |
| <title>questions</title> | |
| </head> | |
| <body> | |
| <h1>Welcome to Meteor!</h1> | |
| {{> hello}} | |
| </body> |
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
| var code= "go here"; |
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 getTeamList() { | |
| "use strict"; | |
| var year = document.getElementById('yearPicker'); | |
| var eventPicker = document.getElementById('eventSelector'); | |
| var req2 = new XMLHttpRequest(); | |
| req2.open('GET', '/api/' + year.options[year.selectedIndex].value + '/teams/' + JSON.parse(eventPicker.options[eventPicker.selectedIndex].value).code); | |
| req2.addEventListener('load', function () { | |
| var data = JSON.parse(req2.responseText); | |
| if (data.teams.length === 0) { | |
| document.getElementById('teamsContainer').innerHTML = '<b>No teams have registered for this event.</b>'; |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <base target="_top"> | |
| </head> | |
| <body> | |
| Hello, World! | |
| </body> | |
| </html> |
OlderNewer