зеркало из https://github.com/mozilla/gecko-dev.git
Fix strict warning
This commit is contained in:
Родитель
fbe906dc6b
Коммит
eb0a27c836
|
@ -4,7 +4,7 @@
|
|||
|
||||
function boom()
|
||||
{
|
||||
t1 = document.createTextNode(String.fromCharCode(0x2011) + String.fromCharCode(13));
|
||||
var t1 = document.createTextNode(String.fromCharCode(0x2011) + String.fromCharCode(13));
|
||||
document.body.appendChild(t1);
|
||||
|
||||
setTimeout(boom2, 30);
|
||||
|
@ -12,7 +12,7 @@ function boom()
|
|||
|
||||
function boom2()
|
||||
{
|
||||
letterA = document.createTextNode(String.fromCharCode(65));
|
||||
var letterA = document.createTextNode(String.fromCharCode(65));
|
||||
document.body.appendChild(letterA);
|
||||
|
||||
document.documentElement.removeAttribute("class");
|
||||
|
|
Загрузка…
Ссылка в новой задаче