From b581a7ebc1ea7e3dbbec219b595092bc44c13f6d Mon Sep 17 00:00:00 2001 From: jr conlin Date: Tue, 9 Dec 2008 11:28:30 -0800 Subject: [PATCH] removed required parameters from setParameters --- js/OAuthSimple.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/OAuthSimple.js b/js/OAuthSimple.js index ca0c9d8..0ad558a 100644 --- a/js/OAuthSimple.js +++ b/js/OAuthSimple.js @@ -105,7 +105,7 @@ if (OAuthSimple == null) */ this.setParameters = function (parameters) { if (parameters == null) - throw ('No parameters specified for OAuthSimple.setParameters'); + parameters = {}; if (typeof(parameters) == 'string') parameters=this._parseParameterString(parameters); this._parameters = parameters;