Skip to content
Snippets Groups Projects
Unverified Commit 0d28459a authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Remove tugUtils.getAPiUrl() calls

parent cdcdbe2c
No related branches found
No related tags found
No related merge requests found
Pipeline #16207 passed
...@@ -8,6 +8,6 @@ ...@@ -8,6 +8,6 @@
<body> <body>
<dbp-check-in-place-select-demo lang="de"></dbp-check-in-place-select-demo> <dbp-check-in-place-select-demo lang="de" entry-point-url="http://127.0.0.1:8000"></dbp-check-in-place-select-demo>
</body> </body>
</html> </html>
...@@ -5,15 +5,13 @@ import {CheckInPlaceSelect} from './check-in-place-select.js'; ...@@ -5,15 +5,13 @@ import {CheckInPlaceSelect} from './check-in-place-select.js';
import {AuthKeycloak, LoginButton} from '@dbp-toolkit/auth'; import {AuthKeycloak, LoginButton} from '@dbp-toolkit/auth';
import * as commonUtils from '@dbp-toolkit/common/utils'; import * as commonUtils from '@dbp-toolkit/common/utils';
import * as commonStyles from '@dbp-toolkit/common/styles'; import * as commonStyles from '@dbp-toolkit/common/styles';
import * as tugUtils from '@dbp-toolkit/common/tug-utils';
import DBPLitElement from "@dbp-toolkit/common/dbp-lit-element"; import DBPLitElement from "@dbp-toolkit/common/dbp-lit-element";
export class CheckInPlaceSelectDemo extends ScopedElementsMixin(DBPLitElement) { export class CheckInPlaceSelectDemo extends ScopedElementsMixin(DBPLitElement) {
constructor() { constructor() {
super(); super();
this.lang = 'de'; this.lang = 'de';
// TODO: for this to get out we would need the emitEJS rollup module to inject variables this.entryPointUrl = '';
this.entryPointUrl = tugUtils.getAPiUrl();
this.noAuth = false; this.noAuth = false;
} }
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</style> </style>
<body> <body>
<dbp-knowledge-base-web-page-element-view-demo lang="de"></dbp-knowledge-base-web-page-element-view-demo> <dbp-knowledge-base-web-page-element-view-demo lang="de" entry-point-url="http://127.0.0.1:8000"></dbp-knowledge-base-web-page-element-view-demo>
</body> </body>
</html> </html>
...@@ -5,15 +5,13 @@ import {AuthKeycloak, LoginButton} from '@dbp-toolkit/auth'; ...@@ -5,15 +5,13 @@ import {AuthKeycloak, LoginButton} from '@dbp-toolkit/auth';
import {KnowledgeBaseWebPageElementView} from './knowledge-base-web-page-element-view.js'; import {KnowledgeBaseWebPageElementView} from './knowledge-base-web-page-element-view.js';
import * as commonUtils from '@dbp-toolkit/common/utils'; import * as commonUtils from '@dbp-toolkit/common/utils';
import * as commonStyles from '@dbp-toolkit/common/styles'; import * as commonStyles from '@dbp-toolkit/common/styles';
import * as tugUtils from '@dbp-toolkit/common/tug-utils';
import DBPLitElement from "@dbp-toolkit/common/dbp-lit-element"; import DBPLitElement from "@dbp-toolkit/common/dbp-lit-element";
export class KnowledgeBaseWebPageElementViewDemo extends ScopedElementsMixin(DBPLitElement) { export class KnowledgeBaseWebPageElementViewDemo extends ScopedElementsMixin(DBPLitElement) {
constructor() { constructor() {
super(); super();
this.lang = 'de'; this.lang = 'de';
// TODO: for this to get out we would need the emitEJS rollup module to inject variables this.entryPointUrl = '';
this.entryPointUrl = tugUtils.getAPiUrl();
this.noAuth = false; this.noAuth = false;
} }
......
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
<body> <body>
<dbp-person-profile-demo lang="de"></dbp-person-profile-demo> <dbp-person-profile-demo lang="de" entry-point-url="http://127.0.0.1:8000"></dbp-person-profile-demo>
</body> </body>
</html> </html>
...@@ -6,7 +6,6 @@ import DBPLitElement from '@dbp-toolkit/common/dbp-lit-element'; ...@@ -6,7 +6,6 @@ import DBPLitElement from '@dbp-toolkit/common/dbp-lit-element';
import {PersonProfile} from './index.js'; import {PersonProfile} from './index.js';
import * as commonUtils from '@dbp-toolkit/common/utils'; import * as commonUtils from '@dbp-toolkit/common/utils';
import * as commonStyles from '@dbp-toolkit/common/styles'; import * as commonStyles from '@dbp-toolkit/common/styles';
import * as tugUtils from '@dbp-toolkit/common/tug-utils';
import $ from 'jquery'; import $ from 'jquery';
import {PersonSelect} from '@dbp-toolkit/person-select'; import {PersonSelect} from '@dbp-toolkit/person-select';
...@@ -14,8 +13,7 @@ export class PersonProfileDemo extends ScopedElementsMixin(DBPLitElement) { ...@@ -14,8 +13,7 @@ export class PersonProfileDemo extends ScopedElementsMixin(DBPLitElement) {
constructor() { constructor() {
super(); super();
this.lang = 'de'; this.lang = 'de';
// TODO: for this to get out we would need the emitEJS rollup module to inject variables this.entryPointUrl = '';
this.entryPointUrl = tugUtils.getAPiUrl();
this.person = ''; this.person = '';
this.selectedPerson = ''; this.selectedPerson = '';
this.noAuth = false; this.noAuth = false;
......
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
<body> <body>
<dbp-person-select-demo lang="de"></dbp-person-select-demo> <dbp-person-select-demo lang="de" entry-point-url="http://127.0.0.1:8000"></dbp-person-select-demo>
</body> </body>
</html> </html>
...@@ -5,15 +5,13 @@ import {PersonSelect} from './person-select.js'; ...@@ -5,15 +5,13 @@ import {PersonSelect} from './person-select.js';
import {AuthKeycloak, LoginButton} from '@dbp-toolkit/auth'; import {AuthKeycloak, LoginButton} from '@dbp-toolkit/auth';
import * as commonUtils from '@dbp-toolkit/common/utils'; import * as commonUtils from '@dbp-toolkit/common/utils';
import * as commonStyles from '@dbp-toolkit/common/styles'; import * as commonStyles from '@dbp-toolkit/common/styles';
import * as tugUtils from '@dbp-toolkit/common/tug-utils';
import DBPLitElement from "@dbp-toolkit/common/dbp-lit-element"; import DBPLitElement from "@dbp-toolkit/common/dbp-lit-element";
export class PersonSelectDemo extends ScopedElementsMixin(DBPLitElement) { export class PersonSelectDemo extends ScopedElementsMixin(DBPLitElement) {
constructor() { constructor() {
super(); super();
this.lang = 'de'; this.lang = 'de';
// TODO: for this to get out we would need the emitEJS rollup module to inject variables this.entryPointUrl = '';
this.entryPointUrl = tugUtils.getAPiUrl();
this.noAuth = false; this.noAuth = false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment