- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 10 May 2011 05:50:48 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/boilerplate In directory hutz:/tmp/cvs-serv29797 Modified Files: middle-w3c-html-magic middle-w3c-webapps-magic Log Message: remove the external scripts Index: middle-w3c-webapps-magic =================================================================== RCS file: /sources/public/html5/boilerplate/middle-w3c-webapps-magic,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- middle-w3c-webapps-magic 14 Dec 2010 02:01:11 -0000 1.1 +++ middle-w3c-webapps-magic 10 May 2011 05:50:46 -0000 1.2 @@ -16,25 +16,8 @@ } return null; } - function load(script) { - var e = document.createElement('script'); -<!--PUB-Y--> e.setAttribute('src', script); -<!--PUB-N--> e.setAttribute('src', 'http://www.whatwg.org/specs/web-apps/current-work/' + script + '?' + encodeURIComponent(location) + '&' + encodeURIComponent(document.referrer)); - document.body.appendChild(e); - } - function init() { - if (location.search == '?slow-browser') - return; - var configUI = document.createElement('div'); - configUI.id = 'configUI'; - document.body.appendChild(configUI); - load('dfn.js'); // doesn't support split-out specs, but, oh well. - if (getCookie('profile') == '1') - document.getElementsByTagName('h2')[0].textContent += '; load: ' + (new Date() - loadTimer) + 'ms'; - fixBrokenLink(); - } </script> </head> - <body onload="init()"> + <body> <div class="head" id="head"> <p><a href="http://www.w3.org/"><img height="48" width="72" alt="W3C" src="http://www.w3.org/Icons/w3c_home"></a></p> Index: middle-w3c-html-magic =================================================================== RCS file: /sources/public/html5/boilerplate/middle-w3c-html-magic,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- middle-w3c-html-magic 14 Dec 2010 02:01:11 -0000 1.1 +++ middle-w3c-html-magic 10 May 2011 05:50:46 -0000 1.2 @@ -16,31 +16,8 @@ } return null; } - function load(script) { - var e = document.createElement('script'); -<!--PUB-Y--> e.setAttribute('src', script); -<!--PUB-N--> e.setAttribute('src', 'http://www.whatwg.org/specs/web-apps/current-work/' + script + '?' + encodeURIComponent(location) + '&' + encodeURIComponent(document.referrer)); - document.body.appendChild(e); - } - function init() { - if (location.search == '?slow-browser') - return; - var configUI = document.createElement('div'); - configUI.id = 'configUI'; - document.body.appendChild(configUI); - // load('reviewer.js'); // would need cross-site XHR - if (document.getElementById('head')) - load('toc.js'); - load('styler.js'); - // load('updater.js'); // would need cross-site XHR - load('dfn.js'); // doesn't support split-out specs, but, oh well. - // load('status.js'); // would need cross-site XHR - if (getCookie('profile') == '1') - document.getElementsByTagName('h2')[0].textContent += '; load: ' + (new Date() - loadTimer) + 'ms'; - fixBrokenLink(); - } </script> </head> - <body onload="init()"> + <body> <div class="head" id="head"> <p><a href="http://www.w3.org/"><img height="48" width="72" alt="W3C" src="http://www.w3.org/Icons/w3c_home"></a></p>
Received on Tuesday, 10 May 2011 05:50:51 UTC