Skip to content

Commit 40ba8ec

Browse files
committed
Core: vi - tweak error message
1 parent dd17350 commit 40ba8ec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/core/components/vi/vi-class.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class ViAd extends Framework7Class {
99
super(params, [app]);
1010
const vi = this;
1111
if (!window.vi) {
12-
throw new Error('f7:vi SDK not found.');
12+
throw new Error('Framework7: vi SDK not found.');
1313
}
1414

1515
let orientation;
@@ -46,10 +46,10 @@ class ViAd extends Framework7Class {
4646
});
4747

4848
if (!vi.params.appId) {
49-
throw new Error('Framework7:"app.id" is required to display an ad. Make sure you have specified it on app initialization.');
49+
throw new Error('Framework7: "app.id" is required to display an ad. Make sure you have specified it on app initialization.');
5050
}
5151
if (!vi.params.placementId) {
52-
throw new Error('Framework7:"placementId" is required to display an ad.');
52+
throw new Error('Framework7: "placementId" is required to display an ad.');
5353
}
5454

5555
function onResize() {

0 commit comments

Comments
 (0)