Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit fd9580c

Browse files
committed
examples: maintained: Remove use of explict this
Coverity: 294626 Coverity: 294620 Signed-off-by: John Andersen <[email protected]>
1 parent 16a2687 commit fd9580c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/maintained/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function setMaintenance (URL, maintained) {
5151
'&URL=' + URL)
5252
.then(function(response) {
5353
return response.json()
54-
}.bind(this));
54+
});
5555
}
5656

5757
window.addEventListener('DOMContentLoaded', function(event) {

examples/maintained/ml.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function predict (URL) {
44
'&URL=' + URL)
55
.then(function(response) {
66
return response.json()
7-
}.bind(this));
7+
});
88
}
99

1010
window.addEventListener('DOMContentLoaded', function(event) {

0 commit comments

Comments
 (0)