Skip to content

Commit

Permalink
Move korpApp module imports
Browse files Browse the repository at this point in the history
  • Loading branch information
arildm committed Mar 25, 2024
1 parent bfbd2b0 commit a0d1374
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
16 changes: 0 additions & 16 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,6 @@ require("./styles/textreader.css")
require("components-jqueryui/ui/widget.js")

require("angular")
require("angular-ui-bootstrap/src/typeahead")
require("angular-ui-bootstrap/src/tooltip")
require("angular-ui-bootstrap/src/modal")
require("angular-ui-bootstrap/src/tabs")
require("angular-ui-bootstrap/src/dropdown")
require("angular-ui-bootstrap/src/pagination")
require("angular-ui-bootstrap/src/datepicker")
require("angular-ui-bootstrap/src/timepicker")
require("angular-ui-bootstrap/src/buttons")
require("angular-ui-bootstrap/src/popover")

require("angular-spinner")

require("jquerylocalize")
require("./lib/jquery.format.js")
Expand All @@ -49,8 +37,6 @@ try {
console.log("No mode file available for mode:", currentMode)
}

require("angular-dynamic-locale/dist/tmhDynamicLocale.js")

require("slickgrid/lib/jquery.event.drag-2.3.0")
require("slickgrid/slick.core")
require("slickgrid/slick.grid")
Expand All @@ -66,8 +52,6 @@ window.CSV = require("comma-separated-values/csv")
require("leaflet")
require("leaflet.markercluster")
require("leaflet-providers")
require("geokorp/dist/scripts/geokorp")
require("geokorp/dist/scripts/geokorp-templates")
require("angular-filter/index.js")

require("./lib/jquery.tooltip.pack.js")
Expand Down
7 changes: 7 additions & 0 deletions app/scripts/korp.module.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
/** @format */
import "angular-ui-bootstrap"
import "angular-spinner"
import "angular-ui-sortable"
import "./newsdesk"
import "geokorp/dist/scripts/geokorp"
import "geokorp/dist/scripts/geokorp-templates"
import "angular-dynamic-locale"
import "angular-filter"

const korpApp = angular.module("korpApp", [
"ui.bootstrap.typeahead",
Expand Down

0 comments on commit a0d1374

Please sign in to comment.