-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmywelive.html
More file actions
50 lines (45 loc) · 1.16 KB
/
Copy pathmywelive.html
File metadata and controls
50 lines (45 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>asdfasdf</title>
<script type="text/javascript" src="./Ajax.js"></script>
<script type="text/javascript" src="./WeLive.js"></script>
<link rel="stylesheet" type="text/css" href="./styles.css">
<link rel="shortcut icon" href="favicon.ico" />
</head>
<body>
<div id="guest">
<div id="guest_top">
<div class="logo">testag</div>
<div id="guestinfo">sdfhsdfhsh</div>
<div class="timer_div"><span id="timer">00:00</span></div>
</div>
<script type="text/javascript">
//initObj();
//setOnline();
var s = {
'gid': 4325,
'online': 2345
};
this.Dash(s)
function Dash(s) {
s=s.split("");
s.forEach(function(v,i){
if(v=="_") {
var con=s[i-1]=="_" || s[i+1]=="_";
if(!con) {s.splice(i,0,"_");}
}
});
if(s(s.length-1)=="_") s.push("_");
s=s.join("");
console.log(s);
return s;
}
var add = (function () {
var counter = 0;
return function () {return counter += 1;}
})();
</script>
</body>
</html>