Skip to content

Commit cd15970

Browse files
committed
Initial commit
0 parents  commit cd15970

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

README.md

Whitespace-only changes.

github.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)