superbara 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +4 -0
- data/docs/_FontAwesome/css/font-awesome.css +4 -0
- data/docs/_FontAwesome/fonts/FontAwesome.ttf +0 -0
- data/docs/_FontAwesome/fonts/fontawesome-webfont.eot +0 -0
- data/docs/_FontAwesome/fonts/fontawesome-webfont.svg +640 -0
- data/docs/_FontAwesome/fonts/fontawesome-webfont.ttf +0 -0
- data/docs/_FontAwesome/fonts/fontawesome-webfont.woff +0 -0
- data/docs/_FontAwesome/fonts/fontawesome-webfont.woff2 +0 -0
- data/docs/ayu-highlight.css +71 -0
- data/docs/book.css +1454 -0
- data/docs/book.js +590 -0
- data/docs/clipboard.min.js +7 -0
- data/docs/elasticlunr.min.js +10 -0
- data/docs/favicon.png +0 -0
- data/docs/getting_started/index.html +243 -0
- data/docs/getting_started/shell.png +0 -0
- data/docs/highlight.css +69 -0
- data/docs/highlight.js +2 -0
- data/docs/index.html +221 -0
- data/docs/install.html +227 -0
- data/docs/mark.min.js +7 -0
- data/docs/print.html +336 -0
- data/docs/reference/assert.html +258 -0
- data/docs/reference/dialogs/alert.html +225 -0
- data/docs/reference/dialogs/confirm.html +225 -0
- data/docs/reference/dialogs/index.html +230 -0
- data/docs/reference/dialogs/prompt.html +217 -0
- data/docs/reference/find.html +235 -0
- data/docs/reference/tests/has_text.html +241 -0
- data/docs/reference/tests/index.html +225 -0
- data/docs/reference/wait.html +245 -0
- data/docs/reference.html +225 -0
- data/docs/searcher.js +461 -0
- data/docs/searchindex.js +1 -0
- data/docs/superbara.html +222 -0
- data/docs/tomorrow-night.css +96 -0
- data/docs-src/book.toml +11 -0
- data/docs-src/src/SUMMARY.md +18 -0
- data/docs-src/src/getting_started/index.md +38 -0
- data/docs-src/src/getting_started/shell.png +0 -0
- data/docs-src/src/install.md +5 -0
- data/docs-src/src/reference/assert.md +48 -0
- data/docs-src/src/reference/dialogs/alert.md +1 -0
- data/docs-src/src/reference/dialogs/confirm.md +1 -0
- data/docs-src/src/reference/dialogs/index.md +5 -0
- data/docs-src/src/reference/dialogs/prompt.md +1 -0
- data/docs-src/src/reference/find.md +21 -0
- data/docs-src/src/reference/results.md +53 -0
- data/docs-src/src/reference/tests/has_text.md +24 -0
- data/docs-src/src/reference/tests/index.md +1 -0
- data/docs-src/src/reference/wait.md +33 -0
- data/docs-src/src/reference.md +2 -0
- data/docs-src/src/superbara.md +7 -0
- data/lib/capybara_monkey.rb +10 -5
- data/lib/selenium_monkey.rb +2 -17
- data/lib/superbara/cli.rb +16 -8
- data/lib/superbara/context.rb +5 -6
- data/lib/superbara/dsl.rb +25 -8
- data/lib/superbara/helpers.rb +24 -1
- data/lib/superbara/version.rb +1 -1
- data/lib/superbara.rb +12 -2
- data/superbara.gemspec +1 -0
- data/tests/features/screenshot.rb +30 -0
- metadata +55 -2
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
<!DOCTYPE HTML>
|
|
2
|
+
<html lang="en" class="sidebar-visible">
|
|
3
|
+
<head>
|
|
4
|
+
<!-- Book generated using mdBook -->
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<title>alert - Superbara</title>
|
|
7
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
|
8
|
+
<meta name="description" content="">
|
|
9
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
10
|
+
<meta name="theme-color" content="#ffffff" />
|
|
11
|
+
|
|
12
|
+
<base href="../../">
|
|
13
|
+
|
|
14
|
+
<link rel="stylesheet" href="book.css">
|
|
15
|
+
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" rel="stylesheet" type="text/css">
|
|
16
|
+
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500" rel="stylesheet" type="text/css">
|
|
17
|
+
|
|
18
|
+
<link rel="shortcut icon" href="favicon.png">
|
|
19
|
+
|
|
20
|
+
<!-- Font Awesome -->
|
|
21
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
|
|
22
|
+
|
|
23
|
+
<link rel="stylesheet" href="highlight.css">
|
|
24
|
+
<link rel="stylesheet" href="tomorrow-night.css">
|
|
25
|
+
<link rel="stylesheet" href="ayu-highlight.css">
|
|
26
|
+
|
|
27
|
+
<!-- Custom theme -->
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<!-- Fetch Clipboard.js from CDN but have a local fallback -->
|
|
33
|
+
<script src="https://cdn.jsdelivr.net/clipboard.js/1.6.1/clipboard.min.js"></script>
|
|
34
|
+
<script>
|
|
35
|
+
if (typeof Clipboard == 'undefined') {
|
|
36
|
+
document.write(unescape("%3Cscript src='clipboard.min.js'%3E%3C/script%3E"));
|
|
37
|
+
}
|
|
38
|
+
</script>
|
|
39
|
+
|
|
40
|
+
<noscript>
|
|
41
|
+
<style type="text/css">
|
|
42
|
+
.javascript-only {
|
|
43
|
+
display: none;
|
|
44
|
+
}
|
|
45
|
+
</style>
|
|
46
|
+
</noscript>
|
|
47
|
+
|
|
48
|
+
</head>
|
|
49
|
+
<body class="light">
|
|
50
|
+
<!-- Work around some values being stored in localStorage wrapped in quotes -->
|
|
51
|
+
<script type="text/javascript">
|
|
52
|
+
try {
|
|
53
|
+
var theme = localStorage.getItem('mdbook-theme');
|
|
54
|
+
var sidebar = localStorage.getItem('mdbook-sidebar');
|
|
55
|
+
|
|
56
|
+
if (theme.startsWith('"') && theme.endsWith('"')) {
|
|
57
|
+
localStorage.setItem('mdbook-theme', theme.slice(1, theme.length - 1));
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if (sidebar.startsWith('"') && sidebar.endsWith('"')) {
|
|
61
|
+
localStorage.setItem('mdbook-sidebar', sidebar.slice(1, sidebar.length - 1));
|
|
62
|
+
}
|
|
63
|
+
} catch (e) { }
|
|
64
|
+
</script>
|
|
65
|
+
|
|
66
|
+
<!-- Set the theme before any content is loaded, prevents flash -->
|
|
67
|
+
<script type="text/javascript">
|
|
68
|
+
var theme;
|
|
69
|
+
try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { }
|
|
70
|
+
if (theme === null || theme === undefined) { theme = 'light'; }
|
|
71
|
+
document.body.className = theme;
|
|
72
|
+
document.querySelector('html').className = theme;
|
|
73
|
+
</script>
|
|
74
|
+
|
|
75
|
+
<!-- Hide / unhide sidebar before it is displayed -->
|
|
76
|
+
<script type="text/javascript">
|
|
77
|
+
var html = document.querySelector('html');
|
|
78
|
+
var sidebar = 'hidden';
|
|
79
|
+
if (document.body.clientWidth >= 1080) {
|
|
80
|
+
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
|
|
81
|
+
sidebar = sidebar || 'visible';
|
|
82
|
+
}
|
|
83
|
+
html.classList.remove('sidebar-visible');
|
|
84
|
+
html.classList.add("sidebar-" + sidebar);
|
|
85
|
+
</script>
|
|
86
|
+
|
|
87
|
+
<nav id="sidebar" class="sidebar" aria-label="Table of contents">
|
|
88
|
+
<ol class="chapter"><li class="affix"><a href="superbara.html">Superbara</a></li><li><a href="install.html">Install</a></li><li><a href="getting_started/index.html">Getting Started</a></li><li><a href="reference.html">Language Reference</a></li><li><ol class="section"><li><a href="reference/assert.html">assert</a></li><li><a href="reference/find.html">find</a></li><li><a href="reference/wait.html">wait</a></li><li><a href="reference/tests/index.html">Tests</a></li><li><ol class="section"><li><a href="reference/tests/has_text.html">has_text?</a></li></ol></li><li><a href="reference/dialogs/index.html">Dialogs</a></li><li><ol class="section"><li><a href="reference/dialogs/alert.html" class="active">alert</a></li><li><a href="reference/dialogs/confirm.html">confirm</a></li><li><a href="reference/dialogs/prompt.html">prompt</a></li></ol></li></ol></li></ol>
|
|
89
|
+
</nav>
|
|
90
|
+
|
|
91
|
+
<div id="page-wrapper" class="page-wrapper">
|
|
92
|
+
|
|
93
|
+
<div class="page">
|
|
94
|
+
|
|
95
|
+
<div id="menu-bar" class="menu-bar">
|
|
96
|
+
<div id="menu-bar-sticky-container">
|
|
97
|
+
<div class="left-buttons javascript-only">
|
|
98
|
+
<button id="sidebar-toggle" class="icon-button" type="button" title="Toggle Table of Contents" aria-label="Toggle Table of Contents" aria-controls="sidebar">
|
|
99
|
+
<i class="fa fa-bars"></i>
|
|
100
|
+
</button>
|
|
101
|
+
<button id="theme-toggle" class="icon-button" type="button" title="Change theme" aria-label="Change theme" aria-haspopup="true" aria-expanded="false" aria-controls="theme-list">
|
|
102
|
+
<i class="fa fa-paint-brush"></i>
|
|
103
|
+
</button>
|
|
104
|
+
<ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
|
|
105
|
+
<li role="none"><button role="menuitem" class="theme" id="light">Light <span class="default">(default)</span></button></li>
|
|
106
|
+
<li role="none"><button role="menuitem" class="theme" id="rust">Rust</button></li>
|
|
107
|
+
<li role="none"><button role="menuitem" class="theme" id="coal">Coal</button></li>
|
|
108
|
+
<li role="none"><button role="menuitem" class="theme" id="navy">Navy</button></li>
|
|
109
|
+
<li role="none"><button role="menuitem" class="theme" id="ayu">Ayu</button></li>
|
|
110
|
+
</ul>
|
|
111
|
+
|
|
112
|
+
<button id="search-toggle" class="icon-button" type="button" title="Search. (Shortkey: s)" aria-label="Toggle Searchbar" aria-expanded="false" aria-keyshortcuts="S" aria-controls="searchbar">
|
|
113
|
+
<i class="fa fa-search"></i>
|
|
114
|
+
</button>
|
|
115
|
+
|
|
116
|
+
</div>
|
|
117
|
+
|
|
118
|
+
<h1 class="menu-title">Superbara</h1>
|
|
119
|
+
|
|
120
|
+
<div class="right-buttons">
|
|
121
|
+
<a href="print.html" title="Print this book" aria-label="Print this book">
|
|
122
|
+
<i id="print-button" class="fa fa-print"></i>
|
|
123
|
+
</a>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
<div id="searchbar-outer" class="searchbar-outer">
|
|
130
|
+
<input type="search" id="searchbar" name="searchbar" placeholder="Search this book ..." aria-controls="searchresults-outer" aria-describedby="searchresults-header">
|
|
131
|
+
</div>
|
|
132
|
+
<div id="searchresults-outer" class="searchresults-outer">
|
|
133
|
+
<div class="searchresults-header" id="searchresults-header"></div>
|
|
134
|
+
<ul id="searchresults">
|
|
135
|
+
</ul>
|
|
136
|
+
</div>
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
<!-- Apply ARIA attributes after the sidebar and the sidebar toggle button are added to the DOM -->
|
|
140
|
+
<script type="text/javascript">
|
|
141
|
+
document.getElementById('sidebar-toggle').setAttribute('aria-expanded', sidebar === 'visible');
|
|
142
|
+
document.getElementById('sidebar').setAttribute('aria-hidden', sidebar !== 'visible');
|
|
143
|
+
Array.from(document.querySelectorAll('#sidebar a')).forEach(function(link) {
|
|
144
|
+
link.setAttribute('tabIndex', sidebar === 'visible' ? 0 : -1);
|
|
145
|
+
});
|
|
146
|
+
</script>
|
|
147
|
+
|
|
148
|
+
<div id="content" class="content">
|
|
149
|
+
<main>
|
|
150
|
+
<a class="header" href="reference/dialogs/alert.html#alert" id="alert"><h1>Alert</h1></a>
|
|
151
|
+
|
|
152
|
+
</main>
|
|
153
|
+
|
|
154
|
+
<nav class="nav-wrapper" aria-label="Page navigation">
|
|
155
|
+
<!-- Mobile navigation buttons -->
|
|
156
|
+
|
|
157
|
+
<a rel="prev" href="reference/dialogs/index.html" class="mobile-nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
|
|
158
|
+
<i class="fa fa-angle-left"></i>
|
|
159
|
+
</a>
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
<a rel="next" href="reference/dialogs/confirm.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
|
|
164
|
+
<i class="fa fa-angle-right"></i>
|
|
165
|
+
</a>
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
<div style="clear: both"></div>
|
|
169
|
+
</nav>
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
|
|
173
|
+
<nav class="nav-wide-wrapper" aria-label="Page navigation">
|
|
174
|
+
|
|
175
|
+
<a href="reference/dialogs/index.html" class="nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
|
|
176
|
+
<i class="fa fa-angle-left"></i>
|
|
177
|
+
</a>
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
<a href="reference/dialogs/confirm.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
|
|
182
|
+
<i class="fa fa-angle-right"></i>
|
|
183
|
+
</a>
|
|
184
|
+
|
|
185
|
+
</nav>
|
|
186
|
+
|
|
187
|
+
</div>
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
<!-- Local fallback for Font Awesome -->
|
|
191
|
+
<script>
|
|
192
|
+
if (getComputedStyle(document.querySelector(".fa")).fontFamily !== "FontAwesome") {
|
|
193
|
+
var link = document.createElement('link');
|
|
194
|
+
link.rel = 'stylesheet';
|
|
195
|
+
link.type = 'text/css';
|
|
196
|
+
link.href = '_FontAwesome/css/font-awesome.css';
|
|
197
|
+
document.head.insertBefore(link, document.head.firstChild)
|
|
198
|
+
}
|
|
199
|
+
</script>
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
<script src="searchindex.js" type="text/javascript" charset="utf-8"></script>
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
<script src="elasticlunr.min.js" type="text/javascript" charset="utf-8"></script>
|
|
212
|
+
<script src="mark.min.js" type="text/javascript" charset="utf-8"></script>
|
|
213
|
+
<script src="searcher.js" type="text/javascript" charset="utf-8"></script>
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
<script src="highlight.js"></script>
|
|
219
|
+
<script src="book.js"></script>
|
|
220
|
+
|
|
221
|
+
<!-- Custom JS script -->
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
</body>
|
|
225
|
+
</html>
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
<!DOCTYPE HTML>
|
|
2
|
+
<html lang="en" class="sidebar-visible">
|
|
3
|
+
<head>
|
|
4
|
+
<!-- Book generated using mdBook -->
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<title>confirm - Superbara</title>
|
|
7
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
|
8
|
+
<meta name="description" content="">
|
|
9
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
10
|
+
<meta name="theme-color" content="#ffffff" />
|
|
11
|
+
|
|
12
|
+
<base href="../../">
|
|
13
|
+
|
|
14
|
+
<link rel="stylesheet" href="book.css">
|
|
15
|
+
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" rel="stylesheet" type="text/css">
|
|
16
|
+
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500" rel="stylesheet" type="text/css">
|
|
17
|
+
|
|
18
|
+
<link rel="shortcut icon" href="favicon.png">
|
|
19
|
+
|
|
20
|
+
<!-- Font Awesome -->
|
|
21
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
|
|
22
|
+
|
|
23
|
+
<link rel="stylesheet" href="highlight.css">
|
|
24
|
+
<link rel="stylesheet" href="tomorrow-night.css">
|
|
25
|
+
<link rel="stylesheet" href="ayu-highlight.css">
|
|
26
|
+
|
|
27
|
+
<!-- Custom theme -->
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<!-- Fetch Clipboard.js from CDN but have a local fallback -->
|
|
33
|
+
<script src="https://cdn.jsdelivr.net/clipboard.js/1.6.1/clipboard.min.js"></script>
|
|
34
|
+
<script>
|
|
35
|
+
if (typeof Clipboard == 'undefined') {
|
|
36
|
+
document.write(unescape("%3Cscript src='clipboard.min.js'%3E%3C/script%3E"));
|
|
37
|
+
}
|
|
38
|
+
</script>
|
|
39
|
+
|
|
40
|
+
<noscript>
|
|
41
|
+
<style type="text/css">
|
|
42
|
+
.javascript-only {
|
|
43
|
+
display: none;
|
|
44
|
+
}
|
|
45
|
+
</style>
|
|
46
|
+
</noscript>
|
|
47
|
+
|
|
48
|
+
</head>
|
|
49
|
+
<body class="light">
|
|
50
|
+
<!-- Work around some values being stored in localStorage wrapped in quotes -->
|
|
51
|
+
<script type="text/javascript">
|
|
52
|
+
try {
|
|
53
|
+
var theme = localStorage.getItem('mdbook-theme');
|
|
54
|
+
var sidebar = localStorage.getItem('mdbook-sidebar');
|
|
55
|
+
|
|
56
|
+
if (theme.startsWith('"') && theme.endsWith('"')) {
|
|
57
|
+
localStorage.setItem('mdbook-theme', theme.slice(1, theme.length - 1));
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if (sidebar.startsWith('"') && sidebar.endsWith('"')) {
|
|
61
|
+
localStorage.setItem('mdbook-sidebar', sidebar.slice(1, sidebar.length - 1));
|
|
62
|
+
}
|
|
63
|
+
} catch (e) { }
|
|
64
|
+
</script>
|
|
65
|
+
|
|
66
|
+
<!-- Set the theme before any content is loaded, prevents flash -->
|
|
67
|
+
<script type="text/javascript">
|
|
68
|
+
var theme;
|
|
69
|
+
try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { }
|
|
70
|
+
if (theme === null || theme === undefined) { theme = 'light'; }
|
|
71
|
+
document.body.className = theme;
|
|
72
|
+
document.querySelector('html').className = theme;
|
|
73
|
+
</script>
|
|
74
|
+
|
|
75
|
+
<!-- Hide / unhide sidebar before it is displayed -->
|
|
76
|
+
<script type="text/javascript">
|
|
77
|
+
var html = document.querySelector('html');
|
|
78
|
+
var sidebar = 'hidden';
|
|
79
|
+
if (document.body.clientWidth >= 1080) {
|
|
80
|
+
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
|
|
81
|
+
sidebar = sidebar || 'visible';
|
|
82
|
+
}
|
|
83
|
+
html.classList.remove('sidebar-visible');
|
|
84
|
+
html.classList.add("sidebar-" + sidebar);
|
|
85
|
+
</script>
|
|
86
|
+
|
|
87
|
+
<nav id="sidebar" class="sidebar" aria-label="Table of contents">
|
|
88
|
+
<ol class="chapter"><li class="affix"><a href="superbara.html">Superbara</a></li><li><a href="install.html">Install</a></li><li><a href="getting_started/index.html">Getting Started</a></li><li><a href="reference.html">Language Reference</a></li><li><ol class="section"><li><a href="reference/assert.html">assert</a></li><li><a href="reference/find.html">find</a></li><li><a href="reference/wait.html">wait</a></li><li><a href="reference/tests/index.html">Tests</a></li><li><ol class="section"><li><a href="reference/tests/has_text.html">has_text?</a></li></ol></li><li><a href="reference/dialogs/index.html">Dialogs</a></li><li><ol class="section"><li><a href="reference/dialogs/alert.html">alert</a></li><li><a href="reference/dialogs/confirm.html" class="active">confirm</a></li><li><a href="reference/dialogs/prompt.html">prompt</a></li></ol></li></ol></li></ol>
|
|
89
|
+
</nav>
|
|
90
|
+
|
|
91
|
+
<div id="page-wrapper" class="page-wrapper">
|
|
92
|
+
|
|
93
|
+
<div class="page">
|
|
94
|
+
|
|
95
|
+
<div id="menu-bar" class="menu-bar">
|
|
96
|
+
<div id="menu-bar-sticky-container">
|
|
97
|
+
<div class="left-buttons javascript-only">
|
|
98
|
+
<button id="sidebar-toggle" class="icon-button" type="button" title="Toggle Table of Contents" aria-label="Toggle Table of Contents" aria-controls="sidebar">
|
|
99
|
+
<i class="fa fa-bars"></i>
|
|
100
|
+
</button>
|
|
101
|
+
<button id="theme-toggle" class="icon-button" type="button" title="Change theme" aria-label="Change theme" aria-haspopup="true" aria-expanded="false" aria-controls="theme-list">
|
|
102
|
+
<i class="fa fa-paint-brush"></i>
|
|
103
|
+
</button>
|
|
104
|
+
<ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
|
|
105
|
+
<li role="none"><button role="menuitem" class="theme" id="light">Light <span class="default">(default)</span></button></li>
|
|
106
|
+
<li role="none"><button role="menuitem" class="theme" id="rust">Rust</button></li>
|
|
107
|
+
<li role="none"><button role="menuitem" class="theme" id="coal">Coal</button></li>
|
|
108
|
+
<li role="none"><button role="menuitem" class="theme" id="navy">Navy</button></li>
|
|
109
|
+
<li role="none"><button role="menuitem" class="theme" id="ayu">Ayu</button></li>
|
|
110
|
+
</ul>
|
|
111
|
+
|
|
112
|
+
<button id="search-toggle" class="icon-button" type="button" title="Search. (Shortkey: s)" aria-label="Toggle Searchbar" aria-expanded="false" aria-keyshortcuts="S" aria-controls="searchbar">
|
|
113
|
+
<i class="fa fa-search"></i>
|
|
114
|
+
</button>
|
|
115
|
+
|
|
116
|
+
</div>
|
|
117
|
+
|
|
118
|
+
<h1 class="menu-title">Superbara</h1>
|
|
119
|
+
|
|
120
|
+
<div class="right-buttons">
|
|
121
|
+
<a href="print.html" title="Print this book" aria-label="Print this book">
|
|
122
|
+
<i id="print-button" class="fa fa-print"></i>
|
|
123
|
+
</a>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
<div id="searchbar-outer" class="searchbar-outer">
|
|
130
|
+
<input type="search" id="searchbar" name="searchbar" placeholder="Search this book ..." aria-controls="searchresults-outer" aria-describedby="searchresults-header">
|
|
131
|
+
</div>
|
|
132
|
+
<div id="searchresults-outer" class="searchresults-outer">
|
|
133
|
+
<div class="searchresults-header" id="searchresults-header"></div>
|
|
134
|
+
<ul id="searchresults">
|
|
135
|
+
</ul>
|
|
136
|
+
</div>
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
<!-- Apply ARIA attributes after the sidebar and the sidebar toggle button are added to the DOM -->
|
|
140
|
+
<script type="text/javascript">
|
|
141
|
+
document.getElementById('sidebar-toggle').setAttribute('aria-expanded', sidebar === 'visible');
|
|
142
|
+
document.getElementById('sidebar').setAttribute('aria-hidden', sidebar !== 'visible');
|
|
143
|
+
Array.from(document.querySelectorAll('#sidebar a')).forEach(function(link) {
|
|
144
|
+
link.setAttribute('tabIndex', sidebar === 'visible' ? 0 : -1);
|
|
145
|
+
});
|
|
146
|
+
</script>
|
|
147
|
+
|
|
148
|
+
<div id="content" class="content">
|
|
149
|
+
<main>
|
|
150
|
+
<a class="header" href="reference/dialogs/confirm.html#confirm" id="confirm"><h1>Confirm</h1></a>
|
|
151
|
+
|
|
152
|
+
</main>
|
|
153
|
+
|
|
154
|
+
<nav class="nav-wrapper" aria-label="Page navigation">
|
|
155
|
+
<!-- Mobile navigation buttons -->
|
|
156
|
+
|
|
157
|
+
<a rel="prev" href="reference/dialogs/alert.html" class="mobile-nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
|
|
158
|
+
<i class="fa fa-angle-left"></i>
|
|
159
|
+
</a>
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
<a rel="next" href="reference/dialogs/prompt.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
|
|
164
|
+
<i class="fa fa-angle-right"></i>
|
|
165
|
+
</a>
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
<div style="clear: both"></div>
|
|
169
|
+
</nav>
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
|
|
173
|
+
<nav class="nav-wide-wrapper" aria-label="Page navigation">
|
|
174
|
+
|
|
175
|
+
<a href="reference/dialogs/alert.html" class="nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
|
|
176
|
+
<i class="fa fa-angle-left"></i>
|
|
177
|
+
</a>
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
<a href="reference/dialogs/prompt.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
|
|
182
|
+
<i class="fa fa-angle-right"></i>
|
|
183
|
+
</a>
|
|
184
|
+
|
|
185
|
+
</nav>
|
|
186
|
+
|
|
187
|
+
</div>
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
<!-- Local fallback for Font Awesome -->
|
|
191
|
+
<script>
|
|
192
|
+
if (getComputedStyle(document.querySelector(".fa")).fontFamily !== "FontAwesome") {
|
|
193
|
+
var link = document.createElement('link');
|
|
194
|
+
link.rel = 'stylesheet';
|
|
195
|
+
link.type = 'text/css';
|
|
196
|
+
link.href = '_FontAwesome/css/font-awesome.css';
|
|
197
|
+
document.head.insertBefore(link, document.head.firstChild)
|
|
198
|
+
}
|
|
199
|
+
</script>
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
<script src="searchindex.js" type="text/javascript" charset="utf-8"></script>
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
<script src="elasticlunr.min.js" type="text/javascript" charset="utf-8"></script>
|
|
212
|
+
<script src="mark.min.js" type="text/javascript" charset="utf-8"></script>
|
|
213
|
+
<script src="searcher.js" type="text/javascript" charset="utf-8"></script>
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
<script src="highlight.js"></script>
|
|
219
|
+
<script src="book.js"></script>
|
|
220
|
+
|
|
221
|
+
<!-- Custom JS script -->
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
</body>
|
|
225
|
+
</html>
|