repo stringlengths 5 106 | file_url stringlengths 78 301 | file_path stringlengths 4 211 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:56:49 2026-01-05 02:23:25 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/src/pages/help/index.jsx | website/src/pages/help/index.jsx | import Link from "@docusaurus/Link";
import Heading from "@theme/Heading";
import Layout from "@theme/Layout";
/**
*
* @param {object} props
* @param {string} props.title
* @param {ReactNode} props.children
*/
function Card({ title, children }) {
return (
<div class="card margin-vert--sm">
<div class=... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/src/pages/users/index.jsx | website/src/pages/users/index.jsx | import Link from "@docusaurus/Link";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Admonition from "@theme/Admonition";
import Heading from "@theme/Heading";
import Layout from "@theme/Layout";
import clsx from "clsx";
import styles from "./index.module.css";
export default function Users... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/storage.js | website/playground/storage.js | export function get(key) {
try {
return JSON.parse(window.localStorage.getItem(key));
} catch {
// noop
}
}
export function set(key, value) {
try {
window.localStorage.setItem(key, JSON.stringify(value));
} catch {
// noop
}
}
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/index.jsx | website/playground/index.jsx | import "./install-service-worker.js";
import { createApp, onMounted, reactive } from "vue";
import Header from "./header.vue";
import Playground from "./Playground.jsx";
import { fixPrettierVersion } from "./utilities.js";
import WorkerApi from "./WorkerApi.js";
const App = {
name: "App",
setup() {
const stat... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/urlHash.js | website/playground/urlHash.js | import LZString from "lz-string";
export function read() {
const hash = document.location.hash.slice(1);
if (!hash) {
return {};
}
// backwards support for old json encoded URIComponent
const decode = hash.includes("%7B%22")
? decodeURIComponent
: LZString.decompressFromEncodedURIComponent;
t... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/PrettierFormat.js | website/playground/PrettierFormat.js | import { onMounted, reactive, toRaw, watch } from "vue";
function setup(props, { slots }) {
const state = reactive({ formatted: "", debug: {} });
const componentDidMount = () => {
format();
};
const format = async () => {
let {
worker,
code,
options,
debugAst: ast,
debug... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/markdown.js | website/playground/markdown.js | function formatMarkdown({
input,
output,
output2,
doc,
version,
url,
options,
cliOptions,
full,
}) {
const syntax = getMarkdownSyntax(options);
const optionsString = formatCLIOptions(cliOptions);
const isIdempotent = !output2 || output === output2;
return [
`**Prettier ${version}**`,
... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/utilities.js | website/playground/utilities.js | export function fixPrettierVersion(version) {
const match = version.match(/^\d+\.\d+\.\d+-pr.(\d+)$/);
if (match) {
return `pr-${match[1]}`;
}
return version;
}
export function getDefaults(availableOptions, optionNames) {
const defaults = {};
for (const option of availableOptions) {
if (optionNames... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/WorkerApi.js | website/playground/WorkerApi.js | export default function WorkerApi() {
const worker = new Worker("/worker.mjs", { type: "module" });
let counter = 0;
const handlers = {};
worker.addEventListener("message", (event) => {
const { uid, message, error } = event.data;
if (!handlers[uid]) {
return;
}
const [resolve, reject] =... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/Playground.jsx | website/playground/Playground.jsx | import { reactive, watch } from "vue";
import { Button, ClipboardButton } from "./buttons.jsx";
import getCodeSample from "./codeSamples.mjs";
import generateDummyId from "./dummyId.js";
import EditorState from "./EditorState.js";
import formatMarkdown from "./markdown.js";
import { getCodemirrorMode } from "./panel/la... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/buttons.jsx | website/playground/buttons.jsx | import ClipboardJS from "clipboard";
import { onMounted, reactive, ref } from "vue";
export const Button = (props, { slots, attrs }) => (
<button type="button" class="btn" {...attrs}>
{slots.default()}
</button>
);
function setup(props, { slots, attrs }) {
const state = reactive({ showTooltip: false, toolti... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/install-service-worker.js | website/playground/install-service-worker.js | if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("/service-worker.mjs", {
type: "module",
scope: "/playground/",
});
}
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/panels.jsx | website/playground/panels.jsx | import { catppuccinLatte, catppuccinMocha } from "@catppuccin/codemirror";
import { closeBrackets, closeBracketsKeymap } from "@codemirror/autocomplete";
import {
defaultKeymap,
history,
historyKeymap,
indentWithTab,
} from "@codemirror/commands";
import {
bracketMatching,
foldable,
foldEffect,
foldGutt... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/EditorState.js | website/playground/EditorState.js | import { reactive, watch } from "vue";
import * as storage from "./storage.js";
export default {
name: "EditorState",
setup(_, { slots }) {
const stateToggler = (property) => () => {
state[property] = !state[property];
};
const state = reactive({
showSidebar: window.innerWidth > window.inne... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/dummyId.js | website/playground/dummyId.js | /* cSpell:disable */
const dummyAdjectives = [
"annular",
"abugidic",
"cantilevered",
"equidistant",
"hippopotamic",
"octahedral",
"particolored",
"quadrupedal",
"stellated",
"transdecimal",
];
const dummyNouns = [
"anteater",
"dingbat",
"dinosaur",
"fossil",
"kangaroo",
"palimpsest",
... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/composables/use-theme.js | website/playground/composables/use-theme.js | import { ref } from "vue";
const getInitialTheme = () => {
const saved = localStorage.getItem("theme");
if (saved) {
return saved;
}
return window.matchMedia("(prefers-color-scheme: dark)").matches
? "dark"
: "light";
};
const applyTheme = (value = getInitialTheme()) => {
document.documentEleme... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/panel/language.js | website/playground/panel/language.js | /**
@import {languages} from "@codemirror/language-data";
@typedef {typeof languages[number]["name"] | "GraphQl"} LanguageNames
*/
// TODO: we should be able to get this from plugin languages
/**
@param {string} parser
@returns {LanguageNames}
*/
function getCodemirrorMode(parser) {
switch (parser) {
case "babel... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/sidebar/components.jsx | website/playground/sidebar/components.jsx | export function Sidebar({ visible }, { slots }) {
const children = slots.default();
return (
<div class={`options-container ${visible ? "open" : ""}`}>
<div class="options">{children}</div>
</div>
);
}
export function SidebarCategory({ title }, { slots }) {
const children = slots.default();
ret... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/sidebar/options.jsx | website/playground/sidebar/options.jsx | import { Checkbox, NumberInput, Select } from "./inputs.jsx";
function BooleanOption({ option, value }, { emit }) {
const onChange = (option, value) => emit("change", option, value);
function maybeInvert(value) {
return option.inverted ? !value : value;
}
return (
<Checkbox
label={option.cliName}... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/sidebar/inputs.jsx | website/playground/sidebar/inputs.jsx | export function Checkbox({ label: _label, title, checked }, { emit }) {
const onChange = (value) => emit("change", value);
return (
<label title={title}>
<input
type="checkbox"
checked={checked}
onChange={(ev) => onChange(ev.target.checked)}
/>{" "}
{_label}
</label... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/website/playground/sidebar/SidebarOptions.jsx | website/playground/sidebar/SidebarOptions.jsx | import { SidebarCategory } from "./components.jsx";
import Option from "./options.jsx";
// Copied from `/src/cli/utilities.js`
function groupBy(array, iteratee) {
const result = Object.create(null);
for (const value of array) {
const key = iteratee(value);
if (Array.isArray(result[key])) {
result[k... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/.svglintrc.js | .svglintrc.js | export default {
rules: {
valid: true,
custom: [
(reporter, $, ast, { filename }) => {
reporter.name = "no-svg-fill-context-fill";
const svg = $.find("svg");
const fill = svg.attr("fill");
if (fill === "context-fill") {
reporter.error(
"Fill attrib... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/extensions/chromium/suppress-update.js | extensions/chromium/suppress-update.js | /*
Copyright 2015 Mozilla Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/extensions/chromium/pdfHandler.js | extensions/chromium/pdfHandler.js | /*
Copyright 2012 Mozilla Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/extensions/chromium/background.js | extensions/chromium/background.js | /*
Copyright 2024 Mozilla Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/extensions/chromium/extension-router.js | extensions/chromium/extension-router.js | /*
Copyright 2013 Mozilla Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/extensions/chromium/contentscript.js | extensions/chromium/contentscript.js | /*
Copyright 2014 Mozilla Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/extensions/chromium/telemetry.js | extensions/chromium/telemetry.js | /*
Copyright 2016 Mozilla Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/extensions/chromium/preserve-referer.js | extensions/chromium/preserve-referer.js | /*
Copyright 2015 Mozilla Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/extensions/chromium/options/migration.js | extensions/chromium/options/migration.js | /*
Copyright 2016 Mozilla Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/extensions/chromium/options/options.js | extensions/chromium/options/options.js | /*
Copyright 2015 Mozilla Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/pdf.js | src/pdf.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/pdf.sandbox.external.js | src/pdf.sandbox.external.js | /* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/pdf.worker.js | src/pdf.worker.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/pdf.image_decoders.js | src/pdf.image_decoders.js | /* Copyright 2018 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/license_header.js | src/license_header.js | /* Copyright 2024 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/pdf.scripting.js | src/pdf.scripting.js | /* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/license_header_libre.js | src/license_header_libre.js | /**
* @licstart The following is the entire license notice for the
* JavaScript code in this page
*
* Copyright 2024 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/pdf.sandbox.js | src/pdf.sandbox.js | /* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/interfaces.js | src/interfaces.js | /* Copyright 2018 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/text_layer.js | src/display/text_layer.js | /* Copyright 2015 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/content_disposition.js | src/display/content_disposition.js | /* Copyright 2017 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/fetch_stream.js | src/display/fetch_stream.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/filter_factory.js | src/display/filter_factory.js | /* Copyright 2015 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/worker_options.js | src/display/worker_options.js | /* Copyright 2018 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/api_utils.js | src/display/api_utils.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/annotation_layer.js | src/display/annotation_layer.js | /* Copyright 2014 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | true |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/font_loader.js | src/display/font_loader.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/pattern_helper.js | src/display/pattern_helper.js | /* Copyright 2014 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/canvas_dependency_tracker.js | src/display/canvas_dependency_tracker.js | import { Util } from "../shared/util.js";
const FORCED_DEPENDENCY_LABEL = "__forcedDependency";
const { floor, ceil } = Math;
function expandBBox(array, index, minX, minY, maxX, maxY) {
array[index * 4 + 0] = Math.min(array[index * 4 + 0], minX);
array[index * 4 + 1] = Math.min(array[index * 4 + 1], minY);
arr... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/display_utils.js | src/display/display_utils.js | /* Copyright 2015 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/transport_stream.js | src/display/transport_stream.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/xfa_layer.js | src/display/xfa_layer.js | /* Copyright 2021 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/annotation_storage.js | src/display/annotation_storage.js | /* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/touch_manager.js | src/display/touch_manager.js | /* Copyright 2024 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/node_utils.js | src/display/node_utils.js | /* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/xfa_text.js | src/display/xfa_text.js | /* Copyright 2021 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/pdf_objects.js | src/display/pdf_objects.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/api.js | src/display/api.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | true |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/node_stream.js | src/display/node_stream.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/metadata.js | src/display/metadata.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/svg_factory.js | src/display/svg_factory.js | /* Copyright 2015 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/wasm_factory.js | src/display/wasm_factory.js | /* Copyright 2015 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/network_utils.js | src/display/network_utils.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/network.js | src/display/network.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/canvas_factory.js | src/display/canvas_factory.js | /* Copyright 2015 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/draw_layer.js | src/display/draw_layer.js | /* Copyright 2023 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/standard_fontdata_factory.js | src/display/standard_fontdata_factory.js | /* Copyright 2015 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/stubs.js | src/display/stubs.js | /* Copyright 2023 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/cmap_reader_factory.js | src/display/cmap_reader_factory.js | /* Copyright 2015 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/optional_content_config.js | src/display/optional_content_config.js | /* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/canvas.js | src/display/canvas.js | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | true |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/freetext.js | src/display/editor/freetext.js | /* Copyright 2022 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/tools.js | src/display/editor/tools.js | /* Copyright 2022 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | true |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/stamp.js | src/display/editor/stamp.js | /* Copyright 2022 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/editor.js | src/display/editor/editor.js | /* Copyright 2022 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | true |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/draw.js | src/display/editor/draw.js | /* Copyright 2022 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/color_picker.js | src/display/editor/color_picker.js | /* Copyright 2023 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/annotation_editor_layer.js | src/display/editor/annotation_editor_layer.js | /* Copyright 2022 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/highlight.js | src/display/editor/highlight.js | /* Copyright 2022 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/toolbar.js | src/display/editor/toolbar.js | /* Copyright 2023 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/alt_text.js | src/display/editor/alt_text.js | /* Copyright 2023 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/comment.js | src/display/editor/comment.js | /* Copyright 2025 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/ink.js | src/display/editor/ink.js | /* Copyright 2022 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/signature.js | src/display/editor/signature.js | /* Copyright 2025 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/drawers/contour.js | src/display/editor/drawers/contour.js | /* Copyright 2024 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/drawers/freedraw.js | src/display/editor/drawers/freedraw.js | /* Copyright 2024 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/drawers/inkdraw.js | src/display/editor/drawers/inkdraw.js | /* Copyright 2024 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/drawers/highlight.js | src/display/editor/drawers/highlight.js | /* Copyright 2023 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/drawers/outline.js | src/display/editor/drawers/outline.js | /* Copyright 2023 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/display/editor/drawers/signaturedraw.js | src/display/editor/drawers/signaturedraw.js | /* Copyright 2022 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/scripting_api/print_params.js | src/scripting_api/print_params.js | /* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/scripting_api/field.js | src/scripting_api/field.js | /* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/scripting_api/proxy.js | src/scripting_api/proxy.js | /* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/scripting_api/doc.js | src/scripting_api/doc.js | /* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/scripting_api/app_utils.js | src/scripting_api/app_utils.js | /* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/scripting_api/thermometer.js | src/scripting_api/thermometer.js | /* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/scripting_api/error.js | src/scripting_api/error.js | /* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/scripting_api/aform.js | src/scripting_api/aform.js | /* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
mozilla/pdf.js | https://github.com/mozilla/pdf.js/blob/cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb/src/scripting_api/pdf_object.js | src/scripting_api/pdf_object.js | /* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | javascript | Apache-2.0 | cb36cbdc132dd34536fe09a6bb2a77c81b5e00eb | 2026-01-04T14:57:14.168219Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.