From 159e1065ffc5a313b68991d92dcbbb6fdae121d2 Mon Sep 17 00:00:00 2001 From: ShengyaoQian Date: Thu, 11 Apr 2013 12:49:43 -0700 Subject: [PATCH 1/5] yao hello file added --- yao.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 yao.js diff --git a/yao.js b/yao.js new file mode 100644 index 0000000..77fd327 --- /dev/null +++ b/yao.js @@ -0,0 +1,3 @@ +function yao() { + return "Yao says hello"; +} \ No newline at end of file From 9a6aac4f2a2fc12865d5773720d2e010ca254791 Mon Sep 17 00:00:00 2001 From: ShengyaoQian Date: Thu, 11 Apr 2013 12:52:38 -0700 Subject: [PATCH 2/5] hello.html updated with yao's js file --- hello.html | 1 + 1 file changed, 1 insertion(+) diff --git a/hello.html b/hello.html index e92f92a..e196830 100644 --- a/hello.html +++ b/hello.html @@ -2,6 +2,7 @@ + Hello Team From 7fe96b6018fb7640a05711b35d8445302b1a838c Mon Sep 17 00:00:00 2001 From: ShengyaoQian Date: Thu, 11 Apr 2013 12:58:08 -0700 Subject: [PATCH 3/5] yao.js modified --- yao.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yao.js b/yao.js index 77fd327..ba802d4 100644 --- a/yao.js +++ b/yao.js @@ -1,3 +1,3 @@ function yao() { - return "Yao says hello"; + return "Yao says hello."; } \ No newline at end of file From e9d3dc41e739552dd16fe092f38b41d5734967e3 Mon Sep 17 00:00:00 2001 From: ShengyaoQian Date: Thu, 11 Apr 2013 13:01:31 -0700 Subject: [PATCH 4/5] hello.html modified --- hello.html | 1 + 1 file changed, 1 insertion(+) diff --git a/hello.html b/hello.html index e196830..13e7847 100644 --- a/hello.html +++ b/hello.html @@ -30,6 +30,7 @@ // one by one, call all of the functions that add to the text content updateText(elisabeth(), textContent); updateText(bob(), textContent); +updateText(yao(), textContent); // Note: we need to add more function here for everyone to say hello. // append the text content to the document From 3158c6b8ad61d1ec641a4e8ed7b856c56cc7d5af Mon Sep 17 00:00:00 2001 From: ShengyaoQian Date: Thu, 11 Apr 2013 13:05:37 -0700 Subject: [PATCH 5/5] hello.html modified --- hello.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hello.html b/hello.html index 13e7847..de6c2b9 100644 --- a/hello.html +++ b/hello.html @@ -2,7 +2,7 @@ - + Hello Team @@ -30,8 +30,8 @@ // one by one, call all of the functions that add to the text content updateText(elisabeth(), textContent); updateText(bob(), textContent); -updateText(yao(), textContent); // Note: we need to add more function here for everyone to say hello. +updateText(yao(), textContent); // append the text content to the document document.body.appendChild(textContent);