mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
JS: Update OK-style comments to $-style
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
window.parent.postMessage(password, '*'); // NOT OK
|
||||
window.parent.postMessage(password, '*'); // $ Alert
|
||||
|
||||
(function() {
|
||||
var data = {};
|
||||
data.foo = password;
|
||||
data.bar = "unproblematic";
|
||||
|
||||
window.parent.postMessage(data, '*'); // NOT OK
|
||||
window.parent.postMessage(data.foo, '*'); // NOT OK
|
||||
window.parent.postMessage(data.bar, '*'); // OK
|
||||
window.parent.postMessage(data, '*'); // $ Alert
|
||||
window.parent.postMessage(data.foo, '*'); // $ Alert
|
||||
window.parent.postMessage(data.bar, '*');
|
||||
})();
|
||||
|
||||
window.parent.postMessage(authKey, '*');
|
||||
|
||||
Reference in New Issue
Block a user