Mercurial > hg-website
changeset 61:16016cc18ded
Backed out changeset baf1530ba0b0
author | David Soria Parra <dsp@php.net> |
---|---|
date | Wed, 18 Feb 2009 01:19:32 +0100 |
parents | baf1530ba0b0 |
children | a06b0f4d5c7e |
files | src/en/index.html src/en/javascript/main.js src/en/quotes/1.txt src/en/quotes/10.txt src/en/quotes/11.txt src/en/quotes/12.txt src/en/quotes/13.txt src/en/quotes/14.txt src/en/quotes/15.txt src/en/quotes/16.txt src/en/quotes/17.txt src/en/quotes/2.txt src/en/quotes/3.txt src/en/quotes/4.txt src/en/quotes/5.txt src/en/quotes/6.txt src/en/quotes/7.txt src/en/quotes/8.txt src/en/quotes/9.txt |
diffstat | 19 files changed, 4 insertions(+), 37 deletions(-) [+] |
line wrap: on
line diff
--- a/src/en/index.html Mon Feb 16 07:14:20 2009 -0700 +++ b/src/en/index.html Wed Feb 18 01:19:32 2009 +0100 @@ -102,7 +102,7 @@ </div> <div class="quote"> - <em id="quote">Random testimony: "I understood how to install Mercurial and how to use it in a few minutes." -Giorgos Keramidas</em> + <em>Random testimony: "I understood how to install Mercurial and how to use it in a few minutes." -Giorgos Keramidas</em> <!-- other nice quotes: ## From the strengths of Mercurial discussion: Just works the way I expect - Paul Moore
--- a/src/en/javascript/main.js Mon Feb 16 07:14:20 2009 -0700 +++ b/src/en/javascript/main.js Wed Feb 18 01:19:32 2009 +0100 @@ -15,7 +15,7 @@ var xmlhttp = null; -function loadXMLDoc(url, stateChange) { +function loadXMLDoc(url) { if (window.XMLHttpRequest) {// code for Firefox, Opera, IE7, etc. xmlhttp = new XMLHttpRequest(); } else if (window.ActiveXObject) {// code for IE6, IE5 @@ -30,8 +30,7 @@ } } -// client OS specific page section -function browserUsageRequestStateChange() { +function stateChange() { if (xmlhttp.readyState==4) {// 4 = "loaded" document.getElementById('replace').innerHTML = xmlhttp.responseText; } @@ -39,21 +38,6 @@ addLoadEvent(function () { if (navigator.appVersion.indexOf("Win")!=-1) { - loadXMLDoc("win.html", browserUsageRequestStateChange); + loadXMLDoc("win.html"); } }); - -// random quotes -function quoteRequestStateChange() { - if (xmlhttp.readyState==4) {// 4 = "loaded" - document.getElementById('quote').innerHTML = xmlhttp.responseText; - } -} - -function randomNumber(low, high) { - return Math.floor(Math.random()*(high-low+1))+low; -} - -addLoadEvent(function () { - loadXMLDoc("quotes/" + randomNumber(1, 17) + ".txt", quoteRequestStateChange); -});
--- a/src/en/quotes/1.txt Mon Feb 16 07:14:20 2009 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -Random testimony: "I understood how to install Mercurial and how to use it in a few minutes." -Giorgos Keramidas
--- a/src/en/quotes/10.txt Mon Feb 16 07:14:20 2009 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -Random testimony: The included web server [...] replaces a lot of functionality of GUI tools in a truly multiplatform way. - Daniel Serpell
--- a/src/en/quotes/11.txt Mon Feb 16 07:14:20 2009 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -Random testimony: There isn't much to learn to be effective. - Doug Philips
--- a/src/en/quotes/12.txt Mon Feb 16 07:14:20 2009 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -Random testimony: It took my less than an hour to understand it. - Thomas Burdick
--- a/src/en/quotes/13.txt Mon Feb 16 07:14:20 2009 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -Random testimony: It has a tortoise so I can actually show my boss its highly productive even in windows. - Thomas Burdick
--- a/src/en/quotes/14.txt Mon Feb 16 07:14:20 2009 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -Random testimony: The commands usually do what I assume them to do. - Bastian Doetsch
--- a/src/en/quotes/15.txt Mon Feb 16 07:14:20 2009 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -Mercurial's conceptual model is clean and simple enough to carry around in my head" - hgbook
--- a/src/en/quotes/16.txt Mon Feb 16 07:14:20 2009 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -Random testimony: It's so easy to start a project; hg init, and you're good to go. - Paul Fisher
--- a/src/en/quotes/17.txt Mon Feb 16 07:14:20 2009 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -Random testimony: It simply works [...]. - Hans Meine
--- a/src/en/quotes/2.txt Mon Feb 16 07:14:20 2009 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -Random testimony: Just works the way I expect - Paul Moore
--- a/src/en/quotes/3.txt Mon Feb 16 07:14:20 2009 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -Random testimony: It took me one evening to get comfortable with it. About a month to better understand its distributed nature. - Isaac Jurado
--- a/src/en/quotes/4.txt Mon Feb 16 07:14:20 2009 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -Random testimony: Mercurial strikes a marvelous balance between these two ends. It can be configured to support either simple environments or very complicated streams of changes interacting in custom ways, and it does all that without becoming a humongous monster of complexity. - Giorgos Keramidas
--- a/src/en/quotes/5.txt Mon Feb 16 07:14:20 2009 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -Random testimony: The dev's of Hg are generally friendly and approachable. - Gerard Korsten
--- a/src/en/quotes/6.txt Mon Feb 16 07:14:20 2009 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -Random testimony: The code base for Hg is pretty small and yet its pretty feature complete. - Gerard Korsten
--- a/src/en/quotes/7.txt Mon Feb 16 07:14:20 2009 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -Random testimony: Simplicity, being distributed, extensibility, speed, familiarity, bash completion, understandable and reasonably small code base - Peter Arrenbrecht