Skip to content

Commit 2096380

Browse files
committed
fixing weak comparision operator
1 parent fda98a2 commit 2096380

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jquery.github.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
this.element = element;
3333
this.$container = $(element);
3434
this.repo = this.$container.attr("data-repo");
35-
this.cached;
3635

3736
// jQuery has an extend method which merges the contents of two or
3837
// more objects, storing the result in the first object. The first object
@@ -56,7 +55,7 @@
5655
cached = sessionStorage.getItem('gh-repos:' + this.repo);
5756
}
5857

59-
if (cached != null) {
58+
if (cached !== null) {
6059
self.applyTemplate(JSON.parse(cached));
6160
}
6261
else {

0 commit comments

Comments
 (0)