Skip to content

Commit

Permalink
Merge pull request #1204 from cdrini/refactor/rm-debug-console
Browse files Browse the repository at this point in the history
Remove Debug Console dev util
  • Loading branch information
cdrini authored Jul 6, 2023
2 parents ad1d300 + 64be50b commit 6e1a104
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 84 deletions.
5 changes: 0 additions & 5 deletions src/BookReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import { DEFAULT_OPTIONS, OptionsParseError } from './BookReader/options.js';
/** @typedef {import('./BookReader/options.js').ReductionFactor} ReductionFactor */
/** @typedef {import('./BookReader/BookModel.js').PageIndex} PageIndex */
import { EVENTS } from './BookReader/events.js';
import { DebugConsole } from './BookReader/DebugConsole.js';
import { Toolbar } from './BookReader/Toolbar/Toolbar.js';
import { BookModel } from './BookReader/BookModel.js';
import { Mode1Up } from './BookReader/Mode1Up.js';
Expand All @@ -43,10 +42,6 @@ import { ImageCache } from './BookReader/ImageCache.js';
import { PageContainer } from './BookReader/PageContainer.js';
import { NAMED_REDUCE_SETS } from './BookReader/ReduceSet';

if (location.toString().indexOf('_debugShowConsole=true') != -1) {
$(() => new DebugConsole().init());
}

/**
* BookReader
* @param {BookReaderOptions} options
Expand Down
54 changes: 0 additions & 54 deletions src/BookReader/DebugConsole.js

This file was deleted.

25 changes: 0 additions & 25 deletions tests/jest/BookReader/DebugConsole.test.js

This file was deleted.

0 comments on commit 6e1a104

Please sign in to comment.