You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 26, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: firefox/data/script.js
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ var events = [];
3
3
varei=0;
4
4
vartraverse=0;
5
5
functioncreateCookie(name,value,days){
6
+
6
7
varexpires;
7
8
8
9
if(days){
@@ -33,13 +34,13 @@ function eraseCookie(name) {
33
34
functionformateventobj(obj,type)
34
35
{
35
36
if(type=="WatchEvent"){
36
-
return'<span class="link" ref="https://github.com/'+obj['actor']['login']+'">'+obj['actor']['login']+'</span> starred the repository <span class="link" ref="https://github.com/'+obj['repo']['name']+'">'+obj['repo']['name']+'</span>';
37
+
return'<span class="link" ref="https://github.com/'+obj['actor']['login']+'">'+obj['actor']['login']+'</span><br> starred the repository <br><span class="link" ref="https://github.com/'+obj['repo']['name']+'">'+obj['repo']['name']+'</span>';
37
38
}
38
39
elseif(type=="ForkEvent"){
39
-
return'<span class="link" ref="https://github.com/'+obj['actor']['login']+'">'+obj['actor']['login']+'</span> forked the repository '+obj['repo']['name']+'</span>';
40
+
return'<span class="link" ref="https://github.com/'+obj['actor']['login']+'">'+obj['actor']['login']+'</span><br> forked the repository <br>'+obj['repo']['name']+'</span>';
40
41
}
41
42
elseif(type=="PushEvent"){
42
-
return'<span class="link" ref="https://github.com/'+obj['actor']['login']+'">'+obj['actor']['login']+'</span> pushed changes to the repository '+obj['repo']['name']+'</span>';
43
+
return'<span class="link" ref="https://github.com/'+obj['actor']['login']+'">'+obj['actor']['login']+'</span><br> pushed changes to the repository <br>'+obj['repo']['name']+'</span>';
0 commit comments