Skip to content

Commit

Permalink
📄 Generate license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
trickypr committed Nov 2, 2023
1 parent e4ab6ce commit dafb3d9
Show file tree
Hide file tree
Showing 13 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm-lock.yaml
4 changes: 4 additions & 0 deletions src/content/bookmarks/Bookmarks.svelte
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 { getFullTree } from '../shared/ExtBookmarkAPI'
import BookmarkTree from './components/BookmarkTree.svelte'
Expand Down
4 changes: 4 additions & 0 deletions src/content/bookmarks/bookmarks.css
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 url('../global.css');

body {
Expand Down
4 changes: 4 additions & 0 deletions src/content/bookmarks/bookmarks.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/. */

/// <reference path="../../link.d.ts" />

import 'remixicon/fonts/remixicon.css'
Expand Down
4 changes: 4 additions & 0 deletions src/content/bookmarks/components/BookmarkItem.svelte
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 { TreeNode } from '../../shared/ExtBookmarkAPI'
Expand Down
4 changes: 4 additions & 0 deletions src/content/bookmarks/components/BookmarkTree.svelte
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 { TreeNode } from '../../shared/ExtBookmarkAPI'
import BookmarkItem from './BookmarkItem.svelte'
Expand Down
4 changes: 4 additions & 0 deletions src/content/browser/browser.css
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/. */

body {
height: 100vh;
overflow: hidden;
Expand Down
4 changes: 4 additions & 0 deletions src/content/browser/components/toolbar/omnibox/Omnibox.svelte
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 {
search,
Expand Down
4 changes: 4 additions & 0 deletions src/content/shared/ExtBookmarkAPI.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/. */

/**
* A helper for interacting with bookmarks with a similar target API to the webextention
* api
Expand Down
4 changes: 4 additions & 0 deletions src/content/shared/TypedImportUtilities.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/. */

export function lazyESModuleGetters<Modules extends Partial<MozESMExportFile>>(
modules: Modules,
// @ts-ignore
Expand Down
4 changes: 4 additions & 0 deletions src/content/shared/components/Button.svelte
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 { ButtonKind } from '.'
Expand Down
4 changes: 4 additions & 0 deletions src/content/shared/components/TextInput.svelte
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 context="module">
let gId = 0
</script>
Expand Down
4 changes: 4 additions & 0 deletions src/content/shared/components/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 Button from './Button.svelte'
import TextInput from './TextInput.svelte'

Expand Down

0 comments on commit dafb3d9

Please sign in to comment.