This repository has been archived on 2024-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
epubreader/public/pdfjs/services/simple_link_service.js

35 lines
842 B
JavaScript
Raw Permalink Normal View History

2020-04-21 20:37:42 +00:00
PDFJS.Reader.SimpleLinkService = function () {
return this;
};
Object.defineProperties(PDFJS.Reader.SimpleLinkService, {
'page': {
get: function () { return 0; },
set: function(value) {}
}
});
PDFJS.Reader.SimpleLinkService.prototype.navigateTo = function (destUrl) {
};
PDFJS.Reader.SimpleLinkService.prototype.getDestinationHash = function (destination) {
return "#";
};
PDFJS.Reader.SimpleLinkService.prototype.getAnchorUrl = function (anchor) {
return "#";
};
PDFJS.Reader.SimpleLinkService.prototype.setHash = function (hash) {
};
PDFJS.Reader.SimpleLinkService.prototype.executeNamedAction = function (action) {
};
PDFJS.Reader.SimpleLinkService.prototype.onFileAttachmentAnnotation = function (params) {
};
PDFJS.Reader.SimpleLinkService.prototype.cachePageRef = function (pageNum, pageRef) {
};