0 parents commit cd15970Copy full SHA for cd15970
2 files changed
README.md
github.js
@@ -0,0 +1,19 @@
1
+(function (globals) {
2
+ var
3
+ // Create a local jQuery variable to play nice with noConflict and get a
4
+ // slight speed up in variable lookup.
5
+ $ = globals.jQuery,
6
+
7
+ // Keep authentication variables private.
8
+ username,
9
+ token,
10
11
+ // Expose global gh variable and keep a local variable.
12
+ gh = globals.gh = {};
13
14
+ gh.authenticate = function (un, t) {
15
+ username = un;
16
+ token = t;
17
+ return this;
18
+ };
19
+}(window))
0 commit comments