-
Notifications
You must be signed in to change notification settings - Fork 239
/
Copy pathexternal-editor+3.1.0.patch
88 lines (88 loc) · 3.49 KB
/
external-editor+3.1.0.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
diff --git a/node_modules/external-editor/main/errors/CreateFileError.js b/node_modules/external-editor/main/errors/CreateFileError.js
index 7faa34c..7b49f68 100644
--- a/node_modules/external-editor/main/errors/CreateFileError.js
+++ b/node_modules/external-editor/main/errors/CreateFileError.js
@@ -14,7 +14,14 @@ var __extends = (this && this.__extends) || (function () {
};
return function (d, b) {
extendStatics(d, b);
- function __() { this.constructor = d; }
+ function __() {
+ Object.defineProperty(this, 'constructor', {
+ value: d,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
diff --git a/node_modules/external-editor/main/errors/LaunchEditorError.js b/node_modules/external-editor/main/errors/LaunchEditorError.js
index 85a164e..217f192 100644
--- a/node_modules/external-editor/main/errors/LaunchEditorError.js
+++ b/node_modules/external-editor/main/errors/LaunchEditorError.js
@@ -14,7 +14,14 @@ var __extends = (this && this.__extends) || (function () {
};
return function (d, b) {
extendStatics(d, b);
- function __() { this.constructor = d; }
+ function __() {
+ Object.defineProperty(this, 'constructor', {
+ value: d,
+ writable: true,
+ enumerable: true,
+ configurable: true
+ });
+ }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
diff --git a/node_modules/external-editor/main/errors/ReadFileError.js b/node_modules/external-editor/main/errors/ReadFileError.js
index 69e0513..e53e584 100644
--- a/node_modules/external-editor/main/errors/ReadFileError.js
+++ b/node_modules/external-editor/main/errors/ReadFileError.js
@@ -14,7 +14,18 @@ var __extends = (this && this.__extends) || (function () {
};
return function (d, b) {
extendStatics(d, b);
- function __() { this.constructor = d; }
+ function __() {
+ if (Object.defineProperty) {
+ Object.defineProperty(this, 'constructor', {
+ value: d,
+ writable: true,
+ configurable: true,
+ enumerable: true,
+ });
+ } else {
+ this.constructor = d;
+ }
+ }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
diff --git a/node_modules/external-editor/main/errors/RemoveFileError.js b/node_modules/external-editor/main/errors/RemoveFileError.js
index 23d266f..86e228e 100644
--- a/node_modules/external-editor/main/errors/RemoveFileError.js
+++ b/node_modules/external-editor/main/errors/RemoveFileError.js
@@ -14,7 +14,18 @@ var __extends = (this && this.__extends) || (function () {
};
return function (d, b) {
extendStatics(d, b);
- function __() { this.constructor = d; }
+ function __() {
+ if (Object.defineProperty) {
+ Object.defineProperty(this, 'constructor', {
+ value: d,
+ writable: true,
+ configurable: true,
+ enumerable: true,
+ });
+ } else {
+ this.constructor = d;
+ }
+ }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();