- renaming getText to getTextAsync and getBinary to getBinaryAsync to follow the same as in the build plugins

This commit is contained in:
denihs
2024-05-21 08:55:50 -04:00
parent 6f1623e709
commit a5eb01f247

View File

@@ -354,10 +354,10 @@ const loadServerBundles = Profile("Load server bundles", async function () {
};
const Assets = {
getText: function (assetPath, callback) {
getTextAsync: function (assetPath, callback) {
return getAsset(assetPath, "utf8", callback);
},
getBinary: function (assetPath, callback) {
getBinaryAsync: function (assetPath, callback) {
return getAsset(assetPath, undefined, callback);
},
/**