bytespider / jsOAuth

JavaScript implimentation of the OAuth protocol. Currently supports version 1.0 (RFC5849) of the specification. Node.js & CommonJS compatible.
http://bytespider.github.com/jsOAuth/
MIT License
557 stars 109 forks source link

phonegap error, netscape is not defined #56

Closed lorenzosfarra closed 9 years ago

lorenzosfarra commented 9 years ago

Hello, I've already seen the similar issue about this error but I've tried the 1.3.6 and the 1.3.7 version, no luck, same error: 11-17 05:54:25.580: I/chromium(3450): [INFO:CONSOLE(1)] "Uncaught ReferenceError: netscape is not defined", source: file:///android_asset/www/js/jsOAuth-1.3.7.min.js (1).

I am using phonegap 3.6.3. Any hints? Thanks.

bytespider commented 9 years ago

Lorenzo,

Make sure you don't set enablePrivilege or set it to false in your configuration settings. This was only for testing cross browser in Firefox and has been since deprecated.

http://bytespider.github.io/jsOAuth/api-reference/#parameters

Rob

lorenzosfarra commented 9 years ago

My bad, I had to read more carefully your answer to the previous issue and the README. Sorry for asking, it works.

Thanks

bytespider commented 9 years ago

Asking is one of the ways we learn. The problem only comes when you don’t learn and ask again. :)

Rob Griffiths Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Monday, 17 November 2014 at 11:20, Lorenzo Sfarra wrote:

My bad, I had to read more carefully your answer to the previous issue and the README. Sorry for asking, it works.
Thanks

— Reply to this email directly or view it on GitHub (https://github.com/bytespider/jsOAuth/issues/56#issuecomment-63290949).