Skip to content

Instantly share code, notes, and snippets.

@IbrahimTanyalcin
Created July 15, 2018 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IbrahimTanyalcin/0faa1b4d2ee09879780334114b63073a to your computer and use it in GitHub Desktop.
Save IbrahimTanyalcin/0faa1b4d2ee09879780334114b63073a to your computer and use it in GitHub Desktop.
B.js
!function(){
function X(exportA){
var div = document.body.lastElementChild.appendChild(document.createElement("div"));
div.textContent = "B\n\u21e9";
taskq.export({},"exportB");
}
X._taskqId = document.currentScript.dataset.taskqid;
X._taskqWaitFor = document.currentScript.dataset.taskqwaitfor.split(",").filter(d=>d);
taskq.push(X);
}()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment