Skip to content

Commit

Permalink
refactor: import all @/directives/* where used
Browse files Browse the repository at this point in the history
  • Loading branch information
arildm committed Aug 26, 2024
1 parent 6de3560 commit 28c060d
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,5 @@ require("./scripts/services/searches")
require("./scripts/services/utils")
require("./scripts/extended.js")
require("./scripts/struct_services.js")
require("./scripts/directives/escaper")
require("./scripts/directives/scroll")
require("./scripts/directives/tab-hash")
require("./scripts/filter_directives.js")
require("./scripts/matomo.js")
1 change: 1 addition & 0 deletions app/scripts/components/extended/tokens.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { html } from "@/util"
import "@/components/extended/token"
import "@/components/extended/struct-token"
import "@/components/extended/add-box"
import "@/directives/scroll-to-start"

angular.module("korpApp").component("extendedTokens", {
template: html`
Expand Down
1 change: 1 addition & 0 deletions app/scripts/components/results.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import "@/components/kwic"
import "@/components/statistics"
import "@/components/sidebar"
import "@/components/word-picture"
import "@/directives/tab-hash"
import "@/directives/tab-preloader"

angular.module("korpApp").component("results", {
Expand Down
1 change: 1 addition & 0 deletions app/scripts/components/searchtabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import "@/components/advanced-search"
import "@/components/compare-search"
import "@/directives/click-cover"
import "@/directives/reduce-select"
import "@/directives/tab-hash"

angular.module("korpApp").component("searchtabs", {
template: html`
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions app/scripts/extended.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { html, regescape, unregescape } from "@/util"
import { loc, locAttribute } from "@/i18n"
import "@/components/autoc"
import "@/components/datetime-picker"
import "@/directives/escaper"
import "@/directives/popper"

let customExtendedTemplates = {}
Expand Down

0 comments on commit 28c060d

Please sign in to comment.