mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 09:38:06 +02:00
Replace pdfjsLib with module that represents pdf.js.
This commit is contained in:
parent
006e8fb59d
commit
4165cedc9f
16 changed files with 133 additions and 93 deletions
|
@ -12,22 +12,22 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/*globals pdfjsLib */
|
||||
|
||||
'use strict';
|
||||
|
||||
(function (root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define('pdfjs-web/annotation_layer_builder', ['exports',
|
||||
'pdfjs-web/ui_utils', 'pdfjs-web/pdf_link_service'], factory);
|
||||
'pdfjs-web/ui_utils', 'pdfjs-web/pdf_link_service',
|
||||
'pdfjs-web/pdfjs'], factory);
|
||||
} else if (typeof exports !== 'undefined') {
|
||||
factory(exports, require('./ui_utils.js'),
|
||||
require('./pdf_link_service.js'));
|
||||
require('./pdf_link_service.js'), require('./pdfjs.js'));
|
||||
} else {
|
||||
factory((root.pdfjsWebAnnotationLayerBuilder = {}), root.pdfjsWebUIUtils,
|
||||
root.pdfjsWebPDFLinkService);
|
||||
root.pdfjsWebPDFLinkService, root.pdfjsWebPDFJS);
|
||||
}
|
||||
}(this, function (exports, uiUtils, pdfLinkService) {
|
||||
}(this, function (exports, uiUtils, pdfLinkService, pdfjsLib) {
|
||||
|
||||
var mozL10n = uiUtils.mozL10n;
|
||||
var SimpleLinkService = pdfLinkService.SimpleLinkService;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue