@internetarchive/bookreader 5.0.0-88-alpha.5 → 5.0.0-88-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/jsconfig.json CHANGED
@@ -10,7 +10,6 @@
10
10
  },
11
11
  "include": [
12
12
  "index.js",
13
- "index.d.ts",
14
13
  "src/**/*.js",
15
14
  "tests/**/*.js",
16
15
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetarchive/bookreader",
3
- "version": "5.0.0-88-alpha.5",
3
+ "version": "5.0.0-88-alpha.7",
4
4
  "description": "The Internet Archive BookReader.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,7 +11,6 @@
11
11
  },
12
12
  "main": "index.js",
13
13
  "module": "index.js",
14
- "types": "index.d.ts",
15
14
  "keywords": [
16
15
  "online",
17
16
  "bookreader",
package/src/BookReader.js CHANGED
@@ -23,6 +23,7 @@ This file is part of BookReader.
23
23
  import 'jquery-ui/ui/widget.js';
24
24
  import 'jquery-ui/ui/widgets/mouse.js';
25
25
  import 'jquery-ui-touch-punch';
26
+ import jQuery from 'jquery';
26
27
 
27
28
  import PACKAGE_JSON from '../package.json';
28
29
  import * as utils from './BookReader/utils.js';
package/index.d.ts DELETED
@@ -1,21 +0,0 @@
1
- export type BookreaderOptions = typeof import('./src/BookReader/options').DEFAULT_OPTIONS;
2
-
3
- export declare class Bookreader {
4
- version: string;
5
- constMode1up: number;
6
- constMode2up: number;
7
- constModeThumb: number;
8
- constNavAnimationDuration: number;
9
- constResizeAnimationDuration: number;
10
- setup(options: BookreaderOptions): void;
11
- trigger(name: string, props: object): void;
12
- bind(name: string, callback: Function): void;
13
- unbind(name: string, callback: Function): void;
14
- resize(): void;
15
- setupKeyListeners(): void;
16
- drawLeafs(): void;
17
- bindGestures(): void;
18
- zoom(direction: number): void;
19
- resizeBRcontainer(animated: boolean): void;
20
- centerPageView(): void;
21
- }