You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Assets/MainFunctions.js
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -238,7 +238,7 @@ function preloadImage(url) {
238
238
});
239
239
}
240
240
241
-
// This can load a Script file into the current page. Works with a callback. The return needs to be executed on to launch the function in the script. See loadOneko for an example:
241
+
// This can load a Script file into the current page. Works with a callback. The return needs to be executed on, to launch the function in the script. See loadOneko for an example:
242
242
functionloadScript(url,callback){
243
243
constscript=document.createElement('script');
244
244
script.src=url;
@@ -249,10 +249,8 @@ function loadScript(url, callback) {
249
249
// Loads Oneko without being a Module or imported. This works with using a onload callback call to execute a method on. This is very VERY janky (This can be also be viewed as an example on how to use "loadScript"):
0 commit comments