1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-11 07:56:28 +00:00

Added linemanjs as frontend

This commit is contained in:
2016-02-10 16:33:44 +00:00
parent 4685173548
commit dfa0972747
36 changed files with 2670 additions and 1 deletions

0
frontend/app/js/.keep Normal file
View File

14
frontend/app/js/hello.js Normal file
View File

@@ -0,0 +1,14 @@
window.helloText = function() {
return 'Hello, World!';
};
window.hello = function() {
html = JST['app/templates/hello.us']({text: helloText()});
document.body.innerHTML += html;
};
if(window.addEventListener) {
window.addEventListener('DOMContentLoaded', hello, false);
} else {
window.attachEvent('onload', hello);
}