-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.min.html
32 lines (27 loc) · 1.05 KB
/
index.min.html
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
<!DOCTYPE html>
<html>
<head>
<title>A/B Editor</title>
<meta charset="utf-8">
<script src="static/vendor/jquery/jquery.min.js"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="static/vendor/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="static/vendor/bootstrap/bootstrap-theme.min.css">
<link rel="stylesheet" href="dist/css/bundle.css" />
<script src="static/vendor/bootstrap/bootstrap.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function(){
window.liveEditor = new LiveEditor({
editor: '#example',
tabs: ['Original', 'Test'],
url: 'globo.html',
js: ['$("html>body>div:eq(0)>div:eq(1)>div:eq(2)>div>div>div>div>a>h3").text("original");',
'$("html>body>div:eq(0)>div:eq(1)>div:eq(2)>div>div>div>div>a>h3").text("teste");']
});
}, false);
</script>
</head>
<body>
<div id="example"></div>
<script src="dist/js/bundle.js" charset="utf-8"></script>
</body>