Which browser? IE?
Google for this error, maybe you need to create console.log function in your script

--
Pozdrawiam
Paweł Górny

Sent from my BlackBerry Passport
From: Tio Oscar
Sent: środa, 12 listopada 2014 21:49
To: OpenPGP.js Mailing List
Reply To: OpenPGP.js Mailing List
Subject: [openpgpjs] Error on worker: console is not defined

I'm having an error using worker proxy:

The trace start here:

/**
 * Message handling
 */
AsyncProxy.prototype._onMessage_ = function(event) {
  var msg = event.data;
  switch (msg.event) {
    case 'method-return':
      this.tasks.shift()(msg.err ? new Error(msg.err) : null, msg.data);
      break;
    case 'request-seed':
      this.seedRandom(RANDOM_SEED_REQUEST);
      break;
    default:
      throw new Error('Unknown Worker Event.');
  }
};

I can't follow the worker script, because it is uglified and I don't know how to build it.

Is there a way to fix this problem?

--
Exos ~  (>‿◠)✌
Linked'in: http://www.linkedin.com/in/ogexos
Twitter: @exos, Indeti.ca: @exos
Cel:  [+54 9 11] 6133-2442

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d-- s++:* a- C+++$ UBL+++$ P(-) L+++$ !E--- W+++$ !N !o K-? !w--- !O !M-- V? PS+++@ !PE Y+(++) PGP++ !t--- !5 X++ R(+) tv--(!) b- DI D-- G e@ h>++ r--- y*>+++++
------END GEEK CODE BLOCK------

_______________________________________________

http://openpgpjs.org
Subscribe/unsubscribe: http://list.openpgpjs.org

Reply via email to