Skip to content

Commit b7f7ed3

Browse files
authored
chore: Drop Array.includes polyfull (#3022)
Browser support for Array.includes is wildly available and does not need be patched.
1 parent 6cc642c commit b7f7ed3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/assets/javascripts/base.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
Array.prototype.includes = function(element) {
2-
return this.indexOf(element) !== -1;
3-
};
4-
51
window.CodeOcean = {
62
refresh: function() {
73
Turbo.visit(window.location.pathname);

0 commit comments

Comments
 (0)