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
const PHP_MODULE = 'https://oraoto.github.io/pib/php.js' | |
const loadResource = url => new Promise((resolve) => { | |
const head = document.getElementsByTagName('head')[0] | |
const theScript = document.createElement('script') | |
console.log("window.PHP " + window.PHP) | |
theScript.src = url; | |
theScript.onload = () => { |