mage-engine 3.23.28 → 3.23.29
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 +13 -10
- 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.29";
|
|
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.
|
|
@@ -80960,13 +80962,14 @@ var isURL = function isURL(path) {
|
|
|
80960
80962
|
}
|
|
80961
80963
|
};
|
|
80962
80964
|
/**
|
|
80963
|
-
* Checks if a path already
|
|
80964
|
-
*
|
|
80965
|
+
* Checks if a path is already a fully resolved URL.
|
|
80966
|
+
* The engine is agnostic about asset locations - it just needs to know
|
|
80967
|
+
* if the path is absolute (use as-is) or relative (prepend base URL).
|
|
80965
80968
|
*/
|
|
80966
80969
|
|
|
80967
80970
|
|
|
80968
80971
|
var isAlreadyResolved = function isAlreadyResolved(path) {
|
|
80969
|
-
return path &&
|
|
80972
|
+
return path && isAbsoluteURL(path);
|
|
80970
80973
|
};
|
|
80971
80974
|
/**
|
|
80972
80975
|
* Resolves an asset path to a full URL.
|