mage-engine 3.23.28 → 3.23.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mage.js +14 -14
- package/package.json +1 -1
package/dist/mage.js
CHANGED
|
@@ -55804,13 +55804,14 @@ var isAbsoluteURL$3 = function isAbsoluteURL(path) {
|
|
|
55804
55804
|
}
|
|
55805
55805
|
};
|
|
55806
55806
|
/**
|
|
55807
|
-
* Checks if a path already
|
|
55808
|
-
*
|
|
55807
|
+
* Checks if a path is already a fully resolved URL.
|
|
55808
|
+
* The engine is agnostic about asset locations - it just needs to know
|
|
55809
|
+
* if the path is absolute (use as-is) or relative (prepend base URL).
|
|
55809
55810
|
*/
|
|
55810
55811
|
|
|
55811
55812
|
|
|
55812
55813
|
var isAlreadyResolved$2 = function isAlreadyResolved(path) {
|
|
55813
|
-
return path &&
|
|
55814
|
+
return path && isAbsoluteURL$3(path);
|
|
55814
55815
|
};
|
|
55815
55816
|
/**
|
|
55816
55817
|
* Resolves a single asset path to a full URL using MAGE_ASSETS_BASE_URL.
|
|
@@ -58425,7 +58426,7 @@ function applyMiddleware() {
|
|
|
58425
58426
|
|
|
58426
58427
|
var thunk = createThunkMiddleware();
|
|
58427
58428
|
thunk.withExtraArgument = createThunkMiddleware;var name = "mage-engine";
|
|
58428
|
-
var version$1 = "3.23.
|
|
58429
|
+
var version$1 = "3.23.31";
|
|
58429
58430
|
var description = "A WebGL Javascript Game Engine, built on top of THREE.js and many other libraries.";
|
|
58430
58431
|
var main = "dist/mage.js";
|
|
58431
58432
|
var author$1 = {
|
|
@@ -70364,13 +70365,14 @@ var isAbsoluteURL$2 = function isAbsoluteURL(path) {
|
|
|
70364
70365
|
}
|
|
70365
70366
|
};
|
|
70366
70367
|
/**
|
|
70367
|
-
* Checks if a path already
|
|
70368
|
-
*
|
|
70368
|
+
* Checks if a path is already a fully resolved URL.
|
|
70369
|
+
* The engine is agnostic about asset locations - it just needs to know
|
|
70370
|
+
* if the path is absolute (use as-is) or relative (prepend base URL).
|
|
70369
70371
|
*/
|
|
70370
70372
|
|
|
70371
70373
|
|
|
70372
70374
|
var isAlreadyResolved$1 = function isAlreadyResolved(path) {
|
|
70373
|
-
return path &&
|
|
70375
|
+
return path && isAbsoluteURL$2(path);
|
|
70374
70376
|
};
|
|
70375
70377
|
/**
|
|
70376
70378
|
* Resolves an asset path to a full URL.
|
|
@@ -76363,10 +76365,7 @@ var buildFBXLoader = function buildFBXLoader() {
|
|
|
76363
76365
|
|
|
76364
76366
|
scope.manager.itemError(url);
|
|
76365
76367
|
}
|
|
76366
|
-
}, onProgress,
|
|
76367
|
-
errors.push(err.message);
|
|
76368
|
-
onError(err);
|
|
76369
|
-
});
|
|
76368
|
+
}, onProgress, onError);
|
|
76370
76369
|
}
|
|
76371
76370
|
}, {
|
|
76372
76371
|
key: "parse",
|
|
@@ -80960,13 +80959,14 @@ var isURL = function isURL(path) {
|
|
|
80960
80959
|
}
|
|
80961
80960
|
};
|
|
80962
80961
|
/**
|
|
80963
|
-
* Checks if a path already
|
|
80964
|
-
*
|
|
80962
|
+
* Checks if a path is already a fully resolved URL.
|
|
80963
|
+
* The engine is agnostic about asset locations - it just needs to know
|
|
80964
|
+
* if the path is absolute (use as-is) or relative (prepend base URL).
|
|
80965
80965
|
*/
|
|
80966
80966
|
|
|
80967
80967
|
|
|
80968
80968
|
var isAlreadyResolved = function isAlreadyResolved(path) {
|
|
80969
|
-
return path &&
|
|
80969
|
+
return path && isAbsoluteURL(path);
|
|
80970
80970
|
};
|
|
80971
80971
|
/**
|
|
80972
80972
|
* Resolves an asset path to a full URL.
|