Skip to content

Commit

Permalink
📄 License headers
Browse files Browse the repository at this point in the history
  • Loading branch information
trickypr committed Nov 15, 2023
1 parent b95fb95 commit 3ba8472
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<script lang="ts">
import {
MENU_ITEM_ACTIONS,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<script lang="ts">
import type { MenuItem } from '@shared/contextMenus'
import type { Writable } from 'svelte/store'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<script lang="ts">
import type { MenuItem } from '@shared/contextMenus'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<script lang="ts">
import { fromId, type MenuItem } from '@shared/contextMenus'
import type { Writable } from 'svelte/store'
Expand Down
4 changes: 4 additions & 0 deletions src/content/settings/components/pref/ContextMenuPref/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import ContextMenuPref from './ContextMenuPref.svelte'

export { ContextMenuPref }
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import { writable } from 'svelte/store'

import { type MenuItem, fromIdString, toIdString } from '@shared/contextMenus'
Expand Down
4 changes: 4 additions & 0 deletions src/content/shared/contextMenus/MenuItem.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import { type Readable, readable } from 'svelte/store'

import type { ContextMenuInfo } from '../../../actors/ContextMenu.types'
Expand Down
6 changes: 5 additions & 1 deletion src/content/shared/contextMenus/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
export * from './MenuItem'
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

export * from './MenuItem'
4 changes: 4 additions & 0 deletions src/content/tests/shared/contextMenus/MenuItem.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import { test } from 'zora'

import {
Expand Down
4 changes: 4 additions & 0 deletions src/content/tests/shared/contextMenus/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import MenuItem from './MenuItem'

export default async function () {
Expand Down

0 comments on commit 3ba8472

Please sign in to comment.