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
556 stars 108 forks source link

Error auth Appelerator sdk version >=2 #42

Open afranioce opened 11 years ago

afranioce commented 11 years ago

remove global to

row 806

if (typeof global.Titanium !== 'undefined' && typeof global.Titanium.Network.createHTTPClient != 'undefined') { XHR = global.Titanium.Network.createHTTPClient();

to

if (typeof Titanium !== 'undefined' && typeof Titanium.Network.createHTTPClient != 'undefined') { XHR = Titanium.Network.createHTTPClient();