1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

normalize program object

This commit is contained in:
Luke Pulverenti 2015-05-31 15:12:58 -04:00
parent 82382681fc
commit 9b6cd65b9d

View file

@ -38,11 +38,16 @@
return MainActivity.beginPurchase(id);
}
function onPurchaseComplete(result) {
alert(result);
}
window.IapManager = {
isPurchaseAvailable: isPurchaseAvailable,
hasPurchased: hasPurchased,
updateProduct: updateProductInfo,
beginPurchase: beginPurchase
beginPurchase: beginPurchase,
onPurchaseComplete: onPurchaseComplete
};
NativeIapManager.isPurchased(unlockId, "window.IapManager.updateProduct");