JS: Update OK-style comments to $-style

This commit is contained in:
Asger F
2025-02-06 13:34:01 +01:00
parent 7e5c24a8ec
commit 9be041e27d
536 changed files with 4408 additions and 4762 deletions

View File

@@ -1,31 +1,30 @@
// NOT OK
g = 23;
g = 23; // $ Alert
// OK
h = 23;
alert(h);
// OK
uid = 0;
function incr() {
return uid++;
}
// OK
function foo() {
var x;
x = 0;
}
// OK
onload = function() {}
// OK
global = 42;
// OK
prop = 42;
// OK
/*global otherGlobal*/
otherGlobal = 56;