Created
April 18, 2018 12:52
-
-
Save IbrahimTanyalcin/d0aa64aea87476600580d2006a0f8a82 to your computer and use it in GitHub Desktop.
Taskq -> Medium -> Part3 -> NonRenderBlocking -> someOtherProcess.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function(){ | |
function someOtherProcess(){ | |
texts && texts.forEach(function(d,i){ | |
var p = document.createElement("p"); | |
p.textContent = d; | |
document.body.firstElementChild.appendChild(p); | |
}); | |
} | |
someOtherProcess._taskqId = "someOtherProcess"; | |
someOtherProcess._taskqWaitFor = ["nonRenderBlocking"]; | |
taskq.push(someOtherProcess); | |
}(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment