Commit aae898be authored by Jörg Richter's avatar Jörg Richter
Browse files

Adapt code to style guide

See dmx-platform/dmx-platform#424
parent 398e4ef4
Pipeline #12164 passed with stages
in 1 minute and 3 seconds
......@@ -7,10 +7,12 @@ export default function GeomapsService (dmx, http) {
}
this.getDomainTopics = (geoCoordId, includeChildren, includeAssocChildren) => {
return http.get(`/geomaps/coord/${geoCoordId}`, {params: {
children: includeChildren,
assocChildren: includeAssocChildren
}}).then(response =>
return http.get(`/geomaps/coord/${geoCoordId}`, {
params: {
children: includeChildren,
assocChildren: includeAssocChildren
}
}).then(response =>
dmx.utils.instantiateMany(response.data, dmx.Topic)
)
}
......
......@@ -7,12 +7,12 @@ export default {
topicmapType: {
uri: 'dmx.geomaps.geomap',
name: "Geomap",
name: 'Geomap',
renderer: () => import('./dmx-geomap-renderer' /* webpackChunkName: "dmx-geomap-renderer" */)
},
topicmapCommands: {
"dmx.geomaps.geomap": [
'dmx.geomaps.geomap': [
require('./components/dmx-geomap-delete').default
]
}
......
const pluginUri = 'systems.dmx.geomaps'
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const { CleanWebpackPlugin } = require('clean-webpack-plugin')
const { VueLoaderPlugin } = require('vue-loader')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const {CleanWebpackPlugin} = require('clean-webpack-plugin')
const {VueLoaderPlugin} = require('vue-loader')
const path = require('path')
module.exports = {
entry: './src/main/js/plugin.js',
output: {
path: __dirname + '/src/main/resources/web',
path: path.join(__dirname, '/src/main/resources/web'),
filename: '[chunkhash].plugin.js',
chunkFilename: '[chunkhash].[name].js',
publicPath: '/' + pluginUri + '/',
......@@ -15,7 +16,7 @@ module.exports = {
libraryTarget: 'jsonp'
},
resolve: {
extensions: [".js", ".vue"]
extensions: ['.js', '.vue']
},
module: {
rules: [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment