Skip to content

Commit f929664

Browse files
authored
Update index.js
1 parent c91f4ea commit f929664

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

src/Workspace/index.js

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -132,22 +132,15 @@ console.log(ObjectHideFlags);
132132
*/
133133

134134

135+
135136
return [
136137
ObjectHideFlags,
137-
138138
wait,
139-
140139
waitMs
141140

142141
] = [
143142

144143
flags,
145-
146-
function(time) {
147-
return new Promise(resolve => setTimeout(resolve, this.parse(time)*1000));
148-
});
149-
150-
function(time) {
151-
return new Promise(resolve => setTimeout(resolve, this.parse(time)));
152-
});
144+
function(time) { return new Promise(resolve => setTimeout(resolve, this.parse(time)*1000)) }),
145+
function(time) { return new Promise(resolve => setTimeout(resolve, this.parse(time))) })
153146
];

0 commit comments

Comments
 (0)