Initial commit. \n 1. Screen capture plugin. \n 2. PNG annotation plugin
This commit is contained in:
13
submission/shared.js
Normal file
13
submission/shared.js
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
var flagInitialised = "initialised";
|
||||
var flagIsHidden = "is-hidden";
|
||||
var flagIsVisible = "is-visible";
|
||||
|
||||
async function waitForClick($element) {
|
||||
return new Promise((resolve) => {
|
||||
$element.on('click', function() {
|
||||
resolve();
|
||||
});
|
||||
$element.click();
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user