Skip to content

Commit c233307

Browse files
committed
AC-11754: Prototype.js Array.from in conflict with Google Maps API
1 parent 83a12d6 commit c233307

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/web/legacy-build.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/web/prototype/prototype.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ function $w(string) {
11281128
return string ? string.split(/\s+/) : [];
11291129
}
11301130

1131-
Array.from = $A;
1131+
Array.from = Array.from || $A;
11321132

11331133

11341134
(function () {

0 commit comments

Comments
 (0)