Skip to content

Commit

Permalink
Fixed: Missing 'new' prefix when invoking a constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Søren Louv-Jansen committed Jul 26, 2013
1 parent b3d519f commit edc13b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/OAuthSimple.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ if (OAuthSimple === undefined)
if (result[keyToken[0]]) {
if (!(result[keyToken[0]] instanceof Array))
{
result[keyToken[0]] = Array(result[keyToken[0]], value);
result[keyToken[0]] = new Array(result[keyToken[0]], value);
}
else
{
Expand Down

0 comments on commit edc13b2

Please sign in to comment.