-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathh3-js+3.7.2.patch
34 lines (30 loc) · 1.26 KB
/
h3-js+3.7.2.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
diff --git a/node_modules/h3-js/dist/browser/h3-js.es.js b/node_modules/h3-js/dist/browser/h3-js.es.js
index 5f74d6f..7cdd692 100644
--- a/node_modules/h3-js/dist/browser/h3-js.es.js
+++ b/node_modules/h3-js/dist/browser/h3-js.es.js
@@ -24,9 +24,9 @@ var libh3 = function (libh3) {
var readAsync;
{
- if (document.currentScript) {
- scriptDirectory = document.currentScript.src;
- }
+ // if (document.currentScript) {
+ // scriptDirectory = document.currentScript.src;
+ // }
if (scriptDirectory.indexOf("blob:") !== 0) {
scriptDirectory = scriptDirectory.substr(0, scriptDirectory.lastIndexOf("/") + 1);
diff --git a/node_modules/h3-js/dist/browser/h3-js.js b/node_modules/h3-js/dist/browser/h3-js.js
index be0058c..451d04a 100644
--- a/node_modules/h3-js/dist/browser/h3-js.js
+++ b/node_modules/h3-js/dist/browser/h3-js.js
@@ -24,9 +24,9 @@ var libh3 = function (libh3) {
var readAsync;
{
- if (document.currentScript) {
- scriptDirectory = document.currentScript.src;
- }
+ // if (document.currentScript) {
+ // scriptDirectory = document.currentScript.src;
+ // }
if (scriptDirectory.indexOf("blob:") !== 0) {
scriptDirectory = scriptDirectory.substr(0, scriptDirectory.lastIndexOf("/") + 1);