Skip to content

Instantly share code, notes, and snippets.

Greg "GothAck" Miell GothAck

Block or report user

Report or block GothAck

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@andyedinborough
andyedinborough / jquery.oauth.js
Created Jun 7, 2011
Introduces $.oauth() to make using OAuth from jQuery as easy as using $.ajax()
View jquery.oauth.js
(function (window, document, $, undefined) {
if (!$.Deferred) throw 'jQuery 1.5 is required to use the jQuery.oauth script!';
function require(name, url) {
if (window[name] === undefined)
return $.ajax({ type: 'GET', cache: true, dataType: 'script', url: url });
}
$.oauth = function (options) {
var d = $.Deferred();
You can’t perform that action at this time.