1
0
Fork 0
mirror of https://github.com/Yetangitu/owncloud-apps.git synced 2025-10-02 14:49:17 +02:00
nextcloud-apps/files_reader/vendor/pdfjs/services/simple_link_service.js
2018-01-18 01:08:41 +01:00

34 lines
842 B
JavaScript

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) {
};