iOS:add Bundle Resource
This commit is contained in:
@@ -2197,11 +2197,18 @@ var AssetResource = /** @class */ (function (_super) {
|
||||
*/
|
||||
var MainBundleResource = /** @class */ (function (_super) {
|
||||
__extends$e(MainBundleResource, _super);
|
||||
function MainBundleResource(path) {
|
||||
return _super.call(this, "mainBundle", path) || this;
|
||||
function MainBundleResource(fileName) {
|
||||
return _super.call(this, "mainBundle", fileName) || this;
|
||||
}
|
||||
return MainBundleResource;
|
||||
}(Resource));
|
||||
var BundleResource = /** @class */ (function (_super) {
|
||||
__extends$e(BundleResource, _super);
|
||||
function BundleResource(bundleName, fileName) {
|
||||
return _super.call(this, "bundle", bundleName + "://" + fileName) || this;
|
||||
}
|
||||
return BundleResource;
|
||||
}(Resource));
|
||||
|
||||
var __extends$d = (undefined && undefined.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
@@ -4389,6 +4396,7 @@ exports.AssetResource = AssetResource;
|
||||
exports.BOTTOM = BOTTOM;
|
||||
exports.BackgroundColorAnimation = BackgroundColorAnimation;
|
||||
exports.Base64Resource = Base64Resource;
|
||||
exports.BundleResource = BundleResource;
|
||||
exports.CENTER = CENTER;
|
||||
exports.CENTER_X = CENTER_X;
|
||||
exports.CENTER_Y = CENTER_Y;
|
||||
|
||||
Reference in New Issue
Block a user