Skip to content
Permalink
Browse files

Update bundled app.js to newest module names

  • Loading branch information...
raitisbe committed Jul 22, 2019
1 parent 82d5ca0 commit a27aeacdbb9e39704cb99601ac6b5a1b385c3b1c
Showing with 34 additions and 35 deletions.
  1. +11 −11 app.js
  2. +12 −10 app.js.template
  3. +11 −14 app_material.js
22 app.js
@@ -1,15 +1,15 @@
'use strict';

import toolbar from 'toolbar';
import print from 'print';
import query from 'query';
import search from 'search';
import measure from 'measure';
import permalink from 'permalink';
import 'components/info/info.module';
import 'components/datasource-selector/datasource_selector.module';
import 'components/sidebar/sidebar.module';
import 'components/add-layers/add-layers.module';
import 'toolbar.module';
import 'print.module';
import 'query.module';
import 'search.module';
import 'measure.module';
import 'permalink.module';
import 'info.module';
import 'datasource-selector.module';
import 'sidebar.module';
import 'add-layers.module';

var module = angular.module('hs', [
'hs.sidebar',
@@ -21,7 +21,7 @@ var module = angular.module('hs', [
'hs.legend', 'hs.geolocation', 'hs.core',
'hs.datasource_selector',
'hs.save-map',
'hs.addLayersModule',
'hs.addLayers',
'gettext',
'hs.compositions',
'hs.info'
@@ -1,14 +1,16 @@
'use strict';
import toolbar from 'toolbar';
import print from 'print';
import query from 'query';
import search from 'search';
import measure from 'measure';
import permalink from 'permalink';
import info from 'info';
import ds from 'datasource_selector';
import sidebar from 'sidebar';
import add-layers.module';

import 'toolbar.module';
import 'print.module';
import 'query.module';
import 'search.module';
import 'measure.module';
import 'permalink.module';
import 'info.module';
import 'datasource-selector.module';
import 'sidebar.module';
import 'add-layers.module';

import bootstrapBundle from 'bootstrap/dist/js/bootstrap.bundle';
import { ImageWMS, ImageArcGISRest } from 'ol/source';
import View from 'ol/View';
@@ -1,17 +1,15 @@
'use strict';
import angularMaterial from 'angular-material';

import ol from 'ol';
import toolbar from 'toolbar';
import print from 'print';
import query from 'query';
import search from 'search';
import measure from 'measure';
import permalink from 'permalink';
import info from 'info';
import ds from 'datasource_selector';
import sidebar from 'sidebar';
import addLayers from 'add-layers.module';
import 'angular-material';
import 'toolbar.module';
import 'print.module';
import 'query.module';
import 'search.module';
import 'measure.module';
import 'permalink.module';
import 'info.module';
import 'datasource-selector.module';
import 'sidebar.module';
import 'add-layers.module';

var module = angular.module('hs', [
'hs.sidebar',
@@ -42,7 +40,6 @@ if (window.hslayersNgConfig) module.value('config', Object.assign({}, window.hsl

module.controller('Main', ['$scope', 'Core', 'hs.addLayersWms.service_layer_producer', 'hs.compositions.service_parser', 'config',
function ($scope, Core, srv_producer, composition_parser, config) {
$scope.hsl_path = config.hsl_path; //Get this from hslayers.js file
$scope.Core = Core;
Core.sidebarRight = false;
Core.singleDatasources = true;

0 comments on commit a27aeac

Please sign in to comment.
You can’t perform that action at this time.