1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 01:58:06 +02:00

Fix jsdoc comment; remove resources dict from type3 properties

This commit is contained in:
Yury Delendik 2012-04-14 17:52:49 -07:00
parent 4953e0fecc
commit 6bf640260f
3 changed files with 6 additions and 3 deletions

View file

@ -193,7 +193,7 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
* canvasContext(required): A 2D context of a DOM Canvas object.,
* textLayer(optional): An object that has beginLayout, endLayout, and
* appendText functions.
* }
* }.
* @return {Promise} A promise that is resolved when the page finishes
* rendering.
*/
@ -415,6 +415,11 @@ var WorkerTransport = (function WorkerTransportClosure() {
var fakeWorker = {
postMessage: function WorkerTransport_postMessage(obj) {
fakeWorker.onmessage({data: obj});
try {
testF.contentWindow.postMessage(obj, "*");
} catch(e) {
debugger;
}
},
terminate: function WorkerTransport_terminate() {}
};