Universeorange.com/Docs/
ready(() => {
require(String | Array url, Function closure);
});
String | Array urlThe url of the file(s) to require
Function closureCode that has to run after the file(s) are required.
ready(() => {
require([
'Js/Custom.js'
], () => {
console.log('Js/Custom.js loaded.');
});
});
Console F12
Js/Custom.js loaded.
Last modified: 2021-06-06
© 2021 universeorange.com