We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3155163 commit bdd7cecCopy full SHA for bdd7cec
2 files changed
src/lib/acode.js
@@ -321,7 +321,7 @@ export default class Acode {
321
view: cmView,
322
});
323
324
- this.define("config",config);
+ this.define("config", config);
325
this.define("Url", Url);
326
this.define("page", Page);
327
this.define("Color", Color);
src/main.js
@@ -206,11 +206,7 @@ async function onDeviceReady() {
206
}
207
208
if (navigator.onLine) {
209
- const purchases = await helpers.promisify(iap.getPurchases).catch((e) => {
210
- console.log("error", "purchase retrieval error");
211
- console.log("error", e);
212
- return [];
213
- });
+ const purchases = await helpers.promisify(iap.getPurchases);
214
const isPro = purchases.find((p) =>
215
p.productIds.includes("acode_pro_new"),
216
);
0 commit comments