()
| 28 | } |
| 29 | |
| 30 | setupScriptURL() { |
| 31 | this.__scriptURL = |
| 32 | typeof getScriptURL === "function" ? getScriptURL() : getScriptURL; |
| 33 | return this.__scriptURL; |
| 34 | } |
| 35 | |
| 36 | asyncScriptLoaderHandleLoad(state) { |
| 37 | // use reacts setState callback to fire props.asyncScriptOnLoad with new state/entry |