Revert "Add yet-another-react-lightbox package and update .gitignore to exclude node_modules"
This reverts commit c92f4a5edd.
This commit is contained in:
20
frontend/node_modules/@react-dnd/asap/dist/RawTask.js
generated
vendored
Normal file
20
frontend/node_modules/@react-dnd/asap/dist/RawTask.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
// `call`, just like a function.
|
||||
export class RawTask {
|
||||
call() {
|
||||
try {
|
||||
this.task && this.task();
|
||||
} catch (error) {
|
||||
this.onError(error);
|
||||
} finally{
|
||||
this.task = null;
|
||||
this.release(this);
|
||||
}
|
||||
}
|
||||
constructor(onError, release){
|
||||
this.onError = onError;
|
||||
this.release = release;
|
||||
this.task = null;
|
||||
}
|
||||
}
|
||||
|
||||
//# sourceMappingURL=RawTask.js.map
|
||||
Reference in New Issue
Block a user