mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Merge pull request #18441 from Snuffleupagus/api-rm-Outliner
[api-minor] Remove `Outliner` from the official API
This commit is contained in:
commit
86eb5ba700
4 changed files with 8 additions and 7 deletions
|
@ -12,7 +12,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/* globals pdfjsLib, pdfjsViewer */
|
||||
/* globals pdfjsLib, pdfjsTestingUtils, pdfjsViewer */
|
||||
|
||||
const {
|
||||
AnnotationLayer,
|
||||
|
@ -20,12 +20,12 @@ const {
|
|||
DrawLayer,
|
||||
getDocument,
|
||||
GlobalWorkerOptions,
|
||||
Outliner,
|
||||
PixelsPerInch,
|
||||
shadow,
|
||||
TextLayer,
|
||||
XfaLayer,
|
||||
} = pdfjsLib;
|
||||
const { Outliner } = pdfjsTestingUtils;
|
||||
const { GenericL10n, parseQueryString, SimpleLinkService } = pdfjsViewer;
|
||||
|
||||
const WAITING_TIME = 100; // ms
|
||||
|
|
|
@ -61,7 +61,6 @@ import { AnnotationLayer } from "../../src/display/annotation_layer.js";
|
|||
import { ColorPicker } from "../../src/display/editor/color_picker.js";
|
||||
import { DrawLayer } from "../../src/display/draw_layer.js";
|
||||
import { GlobalWorkerOptions } from "../../src/display/worker_options.js";
|
||||
import { Outliner } from "../../src/display/editor/outliner.js";
|
||||
import { TextLayer } from "../../src/display/text_layer.js";
|
||||
import { XfaLayer } from "../../src/display/xfa_layer.js";
|
||||
|
||||
|
@ -94,7 +93,6 @@ const expectedAPI = Object.freeze({
|
|||
noContextMenu,
|
||||
normalizeUnicode,
|
||||
OPS,
|
||||
Outliner,
|
||||
PasswordResponses,
|
||||
PDFDataRangeTransport,
|
||||
PDFDateString,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue