Initial UI Commit, still rather rough

This commit is contained in:
Jason White
2014-08-11 18:48:29 -04:00
parent f6437cf28c
commit c4d9bacfbc
79 changed files with 54589 additions and 175 deletions

View File

@ -0,0 +1,13 @@
function displayGreeting(name) {
if (name != ''){
document.getElementById("greeting").innerHTML="Hello, " + escapeHTML(name) + "!";
}
}
function escapeHTML (str) {
var div = document.createElement('div');
var text = document.createTextNode(str);
div.appendChild(text);
return div.innerHTML;
}