Skip to content

Instantly share code, notes, and snippets.

@IbrahimTanyalcin
Created July 15, 2018 13:35
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/596dcfde81ce6b0809c2954a60120624 to your computer and use it in GitHub Desktop.
Save IbrahimTanyalcin/596dcfde81ce6b0809c2954a60120624 to your computer and use it in GitHub Desktop.
A.js
!function(){
function X(){
var div = document.body.lastElementChild.appendChild(document.createElement("div"));
div.textContent = "A\n\u21e9";
taskq.export({},"exportA");
}
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