From 2ad6f7fbc884eb98e1fce0e7a68ac0670220bb20 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Thu, 18 Sep 2014 09:27:24 +0100 Subject: [PATCH] base64.js not needed Only needed for basic auth and we are using oauth tokens --- lib/base64.js | 5 ----- lib/get-branch.php | 1 - lib/github.php | 2 -- 3 files changed, 8 deletions(-) delete mode 100644 lib/base64.js diff --git a/lib/base64.js b/lib/base64.js deleted file mode 100644 index e4299e4..0000000 --- a/lib/base64.js +++ /dev/null @@ -1,5 +0,0 @@ -// cThis code was written by Tyler Akins and has been placed in the -// public domain. It would be nice if you left this header intact. -// Base64 code from Tyler Akins -- http://rumkin.com - -var Base64=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",t={encode:function(t){var n="",r,i,s,o,u,a,f,l=0;do r=t.charCodeAt(l++),i=t.charCodeAt(l++),s=t.charCodeAt(l++),o=r>>2,u=(r&3)<<4|i>>4,a=(i&15)<<2|s>>6,f=s&63,isNaN(i)?a=f=64:isNaN(s)&&(f=64),n=n+e.charAt(o)+e.charAt(u)+e.charAt(a)+e.charAt(f);while(l>4,i=(u&15)<<4|a>>2,s=(a&3)<<6|f,n+=String.fromCharCode(r),a!=64&&(n+=String.fromCharCode(i)),f!=64&&(n+=String.fromCharCode(s));while(lICEcoder v get branch - diff --git a/lib/github.php b/lib/github.php index aeb4b2c..bee6ef1 100644 --- a/lib/github.php +++ b/lib/github.php @@ -23,7 +23,6 @@ if (!$demoMode && isset($_SESSION['loggedIn']) && $_SESSION['loggedIn'] && isset echo ' -