Skip to content

Commit ea6f796

Browse files
authored
Merge pull request #238 from Dataport/refactor/rename-global-diplan-client-to-technical-name
rename global diplan client to technical name
2 parents 0fd444e + 1c6ebd9 commit ea6f796

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/clients/diplan/example/prod-example.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,16 @@ <h2>Informationen aus Kartenklient</h2>
9595
</section>
9696
</main>
9797
<footer>At solmen va esser necessi far uniform grammatica, pronunciation e plu sommun paroles.</footer>
98-
<!-- Example without build tools. Most frameworks will allow importing this. (Try "* as MapClient".) -->
98+
<!-- Example without build tools. Most frameworks will allow importing this. (Try "* as PolarClientDiPlan".) -->
9999
<script src="../dist/polar-client.js"></script>
100-
<!-- → window.MapClient is now available. TODO: Choose a better name. -->
100+
<!-- → window.PolarClientDiPlan is now available. -->
101101
<link rel="stylesheet" src="../dist/polar-client.css">
102102
<script type="module">
103103
import services from './services.js'
104104
import config from './config.js'
105105

106106
import setup from './setup.js'
107-
setup(MapClient, services, config)
107+
setup(PolarClientDiPlan, services, config)
108108
</script>
109109
</body>
110110
</html>

packages/clients/diplan/vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default getClientConfig({
44
root: 'example',
55
build: {
66
lib: {
7-
name: 'MapClient',
7+
name: 'PolarClientDiPlan',
88
entry: '../src/polar-client.ts',
99
fileName: () => 'polar-client.js',
1010
},

0 commit comments

Comments
 (0)