mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
- renaming getText to getTextAsync and getBinary to getBinaryAsync to follow the same as in the build plugins
This commit is contained in:
@@ -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);
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user