@itee/tasks 1.1.1 → 1.2.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.
- package/CHANGELOG.md +6 -0
- package/configs/docs/doc.conf.mjs +55 -0
- package/docs/-_utils.mjs.html +848 -0
- package/docs/cleans_clean.task.mjs.html +239 -0
- package/docs/fonts/glyphicons-halflings-regular.eot +0 -0
- package/docs/fonts/glyphicons-halflings-regular.svg +288 -0
- package/docs/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/docs/fonts/glyphicons-halflings-regular.woff +0 -0
- package/docs/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/docs/global.html +1668 -0
- package/docs/helps_help.task.mjs.html +362 -0
- package/docs/img/glyphicons-halflings-white.png +0 -0
- package/docs/img/glyphicons-halflings.png +0 -0
- package/docs/index.html +228 -0
- package/docs/lints_lint.task.mjs.html +252 -0
- package/docs/patches_patch.task.mjs.html +251 -0
- package/docs/quicksearch.html +31 -0
- package/docs/releases_release.task.mjs.html +238 -0
- package/docs/scripts/docstrap.lib.js +11 -0
- package/docs/scripts/fulltext-search-ui.js +89 -0
- package/docs/scripts/fulltext-search.js +36 -0
- package/docs/scripts/lunr.min.js +6 -0
- package/docs/scripts/prettify/Apache-License-2.0.txt +202 -0
- package/docs/scripts/prettify/jquery.min.js +6 -0
- package/docs/scripts/prettify/lang-css.js +21 -0
- package/docs/scripts/prettify/prettify.js +496 -0
- package/docs/scripts/sunlight.js +1157 -0
- package/docs/scripts/toc.js +203 -0
- package/docs/styles/darkstrap.css +960 -0
- package/docs/styles/prettify-tomorrow.css +132 -0
- package/docs/styles/site.cerulean.css +7008 -0
- package/docs/styles/site.cosmo.css +7061 -0
- package/docs/styles/site.cyborg.css +7048 -0
- package/docs/styles/site.darkly.css +7171 -0
- package/docs/styles/site.darkstrap.css +5638 -0
- package/docs/styles/site.dibs-bootstrap.css +5899 -0
- package/docs/styles/site.flatly.css +7147 -0
- package/docs/styles/site.journal.css +6973 -0
- package/docs/styles/site.lumen.css +7298 -0
- package/docs/styles/site.paper.css +7623 -0
- package/docs/styles/site.readable.css +6997 -0
- package/docs/styles/site.sandstone.css +7035 -0
- package/docs/styles/site.simplex.css +7023 -0
- package/docs/styles/site.slate.css +7343 -0
- package/docs/styles/site.spacelab.css +7055 -0
- package/docs/styles/site.superhero.css +7131 -0
- package/docs/styles/site.united.css +6895 -0
- package/docs/styles/site.yeti.css +7195 -0
- package/docs/styles/sunlight.dark.css +345 -0
- package/docs/styles/sunlight.default.css +344 -0
- package/docs/tests_benchmarks_compute-benchmarks.task.mjs.html +442 -0
- package/docs/tests_benchmarks_run-benchmarks-for-backend.task.mjs.html +249 -0
- package/docs/tests_benchmarks_run-benchmarks-for-frontend.task.mjs.html +254 -0
- package/docs/tests_bundlings_check-bundling-from-esm-files-direct.task.mjs.html +300 -0
- package/docs/tests_bundlings_check-bundling.task.mjs.html +231 -0
- package/docs/tests_run-tests.task.mjs.html +228 -0
- package/docs/tests_units_compute-unit-tests.task.mjs.html +753 -0
- package/docs/tests_units_run-unit-tests-for-backend.task.mjs.html +254 -0
- package/docs/tests_units_run-unit-tests-for-frontend.task.mjs.html +254 -0
- package/package.json +5 -2
- package/sources/_utils.mjs +19 -1
- package/sources/patches/patch.task.mjs +45 -0
- package/configs/docs/doc.conf.json +0 -1
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width">
|
|
7
|
+
<title>@itee/tasks v1.1.1 Source: lints/lint.task.mjs</title>
|
|
8
|
+
|
|
9
|
+
<!--[if lt IE 9]>
|
|
10
|
+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
11
|
+
<![endif]-->
|
|
12
|
+
<link type="text/css" rel="stylesheet" href="styles/sunlight.dark.css">
|
|
13
|
+
|
|
14
|
+
<link type="text/css" rel="stylesheet" href="styles/site.cyborg.css">
|
|
15
|
+
|
|
16
|
+
</head>
|
|
17
|
+
|
|
18
|
+
<body>
|
|
19
|
+
|
|
20
|
+
<div class="navbar navbar-default navbar-fixed-top ">
|
|
21
|
+
<div class="container">
|
|
22
|
+
<div class="navbar-header">
|
|
23
|
+
<a class="navbar-brand" href="index.html">@itee/tasks v1.1.1</a>
|
|
24
|
+
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
|
|
25
|
+
<span class="icon-bar"></span>
|
|
26
|
+
<span class="icon-bar"></span>
|
|
27
|
+
<span class="icon-bar"></span>
|
|
28
|
+
</button>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="navbar-collapse collapse" id="topNavigation">
|
|
31
|
+
<ul class="nav navbar-nav">
|
|
32
|
+
|
|
33
|
+
<li class="dropdown">
|
|
34
|
+
<a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
|
|
35
|
+
<ul class="dropdown-menu inline">
|
|
36
|
+
<li><a href="global.html#checkBundlingFromEsmFilesDirectTask">checkBundlingFromEsmFilesDirectTask</a></li><li><a href="global.html#checkBundlingTask">checkBundlingTask</a></li><li><a href="global.html#computeBenchmarksTask">computeBenchmarksTask</a></li><li><a href="global.html#computeUnitTestsTask">computeUnitTestsTask</a></li><li><a href="global.html#createRollupConfigs">createRollupConfigs</a></li><li><a href="global.html#npmrunclean">npm run clean</a></li><li><a href="global.html#npmrunhelpdefault">npm run help ( default )</a></li><li><a href="global.html#npmrunlint">npm run lint</a></li><li><a href="global.html#npmrunpatch">npm run patch</a></li><li><a href="global.html#npmrunrelease">npm run release</a></li><li><a href="global.html#npmruntest">npm run test</a></li><li><a href="global.html#runBenchmarksForBackendTask">runBenchmarksForBackendTask</a></li><li><a href="global.html#runBenchmarksForFrontendTask">runBenchmarksForFrontendTask</a></li><li><a href="global.html#runUnitTestsForBackendTask">runUnitTestsForBackendTask</a></li><li><a href="global.html#runUnitTestsForFrontendTask">runUnitTestsForFrontendTask</a></li>
|
|
37
|
+
</ul>
|
|
38
|
+
</li>
|
|
39
|
+
|
|
40
|
+
</ul>
|
|
41
|
+
|
|
42
|
+
<div class="col-sm-3 col-md-3">
|
|
43
|
+
<form class="navbar-form" role="search">
|
|
44
|
+
<div class="input-group">
|
|
45
|
+
<input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
|
|
46
|
+
<div class="input-group-btn">
|
|
47
|
+
<button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</form>
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
<div class="container" id="toc-content">
|
|
60
|
+
<div class="row">
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
<div class="col-md-12">
|
|
64
|
+
|
|
65
|
+
<div id="main">
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
<h1 class="page-title">Source: lints/lint.task.mjs</h1>
|
|
69
|
+
|
|
70
|
+
<section>
|
|
71
|
+
<article>
|
|
72
|
+
<pre
|
|
73
|
+
class="sunlight-highlight-javascript linenums">import colors from 'ansi-colors'
|
|
74
|
+
import log from 'fancy-log'
|
|
75
|
+
import child_process from 'node:child_process'
|
|
76
|
+
import { basename } from 'node:path'
|
|
77
|
+
import { promisify } from 'node:util'
|
|
78
|
+
import {
|
|
79
|
+
getTaskConfigurationPathFor,
|
|
80
|
+
logLoadingTask
|
|
81
|
+
} from '../_utils.mjs'
|
|
82
|
+
|
|
83
|
+
logLoadingTask( import.meta.filename )
|
|
84
|
+
|
|
85
|
+
const execFile = promisify( child_process.execFile )
|
|
86
|
+
const { red } = colors
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @method npm run lint
|
|
90
|
+
* @global
|
|
91
|
+
* @description Will lint the sources files and try to fix the style when possible
|
|
92
|
+
*/
|
|
93
|
+
const lintTask = async ( done ) => {
|
|
94
|
+
|
|
95
|
+
try {
|
|
96
|
+
|
|
97
|
+
const configurationPath = getTaskConfigurationPathFor( import.meta.filename )
|
|
98
|
+
|
|
99
|
+
const { stdout } = await execFile( 'npx', [ 'eslint', '--config', configurationPath, '--fix' ] )
|
|
100
|
+
if ( stdout !== '' ) {
|
|
101
|
+
log( stdout )
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
done()
|
|
105
|
+
|
|
106
|
+
} catch ( error ) {
|
|
107
|
+
|
|
108
|
+
log( error.stdout )
|
|
109
|
+
done( red( error.message ) )
|
|
110
|
+
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
}
|
|
114
|
+
lintTask.displayName = basename( import.meta.filename, '.task.mjs' )
|
|
115
|
+
lintTask.description = 'Will lint the sources files and try to fix the style when possible.'
|
|
116
|
+
lintTask.flags = null
|
|
117
|
+
|
|
118
|
+
export { lintTask }</pre>
|
|
119
|
+
</article>
|
|
120
|
+
</section>
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
</div>
|
|
127
|
+
</div>
|
|
128
|
+
|
|
129
|
+
<div class="clearfix"></div>
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
<div class="modal fade" id="searchResults">
|
|
138
|
+
<div class="modal-dialog">
|
|
139
|
+
<div class="modal-content">
|
|
140
|
+
<div class="modal-header">
|
|
141
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
142
|
+
<h4 class="modal-title">Search results</h4>
|
|
143
|
+
</div>
|
|
144
|
+
<div class="modal-body"></div>
|
|
145
|
+
<div class="modal-footer">
|
|
146
|
+
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
147
|
+
</div>
|
|
148
|
+
</div><!-- /.modal-content -->
|
|
149
|
+
</div><!-- /.modal-dialog -->
|
|
150
|
+
</div>
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
<footer>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
<span class="copyright">
|
|
157
|
+
Copyright 2015-Present <a href="https://github.com/Itee">Itee</a> (Tristan Valcke)
|
|
158
|
+
</span>
|
|
159
|
+
|
|
160
|
+
<span class="jsdoc-message">
|
|
161
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a>
|
|
162
|
+
|
|
163
|
+
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
|
164
|
+
</span>
|
|
165
|
+
</footer>
|
|
166
|
+
|
|
167
|
+
<script src="scripts/docstrap.lib.js"></script>
|
|
168
|
+
<script src="scripts/toc.js"></script>
|
|
169
|
+
|
|
170
|
+
<script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
<script>
|
|
174
|
+
$( function () {
|
|
175
|
+
$( "[id*='$']" ).each( function () {
|
|
176
|
+
var $this = $( this );
|
|
177
|
+
|
|
178
|
+
$this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
|
|
179
|
+
} );
|
|
180
|
+
|
|
181
|
+
$( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
|
|
182
|
+
var $this = $( this );
|
|
183
|
+
|
|
184
|
+
var example = $this.find( "code" );
|
|
185
|
+
exampleText = example.html();
|
|
186
|
+
var lang = /{@lang (.*?)}/.exec( exampleText );
|
|
187
|
+
if ( lang && lang[1] ) {
|
|
188
|
+
exampleText = exampleText.replace( lang[0], "" );
|
|
189
|
+
example.html( exampleText );
|
|
190
|
+
lang = lang[1];
|
|
191
|
+
} else {
|
|
192
|
+
var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
|
|
193
|
+
lang = langClassMatch ? langClassMatch[1] : "javascript";
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
if ( lang ) {
|
|
197
|
+
|
|
198
|
+
$this
|
|
199
|
+
.addClass( "sunlight-highlight-" + lang )
|
|
200
|
+
.addClass( "linenums" )
|
|
201
|
+
.html( example.html() );
|
|
202
|
+
|
|
203
|
+
}
|
|
204
|
+
} );
|
|
205
|
+
|
|
206
|
+
Sunlight.highlightAll( {
|
|
207
|
+
lineNumbers : true,
|
|
208
|
+
showMenu : true,
|
|
209
|
+
enableDoclinks : true
|
|
210
|
+
} );
|
|
211
|
+
|
|
212
|
+
$.catchAnchorLinks( {
|
|
213
|
+
navbarOffset: 10
|
|
214
|
+
} );
|
|
215
|
+
$( "#toc" ).toc( {
|
|
216
|
+
anchorName : function ( i, heading, prefix ) {
|
|
217
|
+
return $( heading ).attr( "id" ) || ( prefix + i );
|
|
218
|
+
},
|
|
219
|
+
selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
|
|
220
|
+
showAndHide : false,
|
|
221
|
+
smoothScrolling: true
|
|
222
|
+
} );
|
|
223
|
+
|
|
224
|
+
$( "#main span[id^='toc']" ).addClass( "toc-shim" );
|
|
225
|
+
$( '.dropdown-toggle' ).dropdown();
|
|
226
|
+
|
|
227
|
+
$( "table" ).each( function () {
|
|
228
|
+
var $this = $( this );
|
|
229
|
+
$this.addClass('table');
|
|
230
|
+
} );
|
|
231
|
+
|
|
232
|
+
} );
|
|
233
|
+
</script>
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
<!--Navigation and Symbol Display-->
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
<!--Google Analytics-->
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
<script type="text/javascript">
|
|
245
|
+
$(document).ready(function() {
|
|
246
|
+
SearcherDisplay.init();
|
|
247
|
+
});
|
|
248
|
+
</script>
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
</body>
|
|
252
|
+
</html>
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width">
|
|
7
|
+
<title>@itee/tasks v1.1.1 Source: patches/patch.task.mjs</title>
|
|
8
|
+
|
|
9
|
+
<!--[if lt IE 9]>
|
|
10
|
+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
11
|
+
<![endif]-->
|
|
12
|
+
<link type="text/css" rel="stylesheet" href="styles/sunlight.dark.css">
|
|
13
|
+
|
|
14
|
+
<link type="text/css" rel="stylesheet" href="styles/site.cyborg.css">
|
|
15
|
+
|
|
16
|
+
</head>
|
|
17
|
+
|
|
18
|
+
<body>
|
|
19
|
+
|
|
20
|
+
<div class="navbar navbar-default navbar-fixed-top ">
|
|
21
|
+
<div class="container">
|
|
22
|
+
<div class="navbar-header">
|
|
23
|
+
<a class="navbar-brand" href="index.html">@itee/tasks v1.1.1</a>
|
|
24
|
+
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
|
|
25
|
+
<span class="icon-bar"></span>
|
|
26
|
+
<span class="icon-bar"></span>
|
|
27
|
+
<span class="icon-bar"></span>
|
|
28
|
+
</button>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="navbar-collapse collapse" id="topNavigation">
|
|
31
|
+
<ul class="nav navbar-nav">
|
|
32
|
+
|
|
33
|
+
<li class="dropdown">
|
|
34
|
+
<a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
|
|
35
|
+
<ul class="dropdown-menu inline">
|
|
36
|
+
<li><a href="global.html#checkBundlingFromEsmFilesDirectTask">checkBundlingFromEsmFilesDirectTask</a></li><li><a href="global.html#checkBundlingTask">checkBundlingTask</a></li><li><a href="global.html#computeBenchmarksTask">computeBenchmarksTask</a></li><li><a href="global.html#computeUnitTestsTask">computeUnitTestsTask</a></li><li><a href="global.html#createRollupConfigs">createRollupConfigs</a></li><li><a href="global.html#npmrunclean">npm run clean</a></li><li><a href="global.html#npmrunhelpdefault">npm run help ( default )</a></li><li><a href="global.html#npmrunlint">npm run lint</a></li><li><a href="global.html#npmrunpatch">npm run patch</a></li><li><a href="global.html#npmrunrelease">npm run release</a></li><li><a href="global.html#npmruntest">npm run test</a></li><li><a href="global.html#runBenchmarksForBackendTask">runBenchmarksForBackendTask</a></li><li><a href="global.html#runBenchmarksForFrontendTask">runBenchmarksForFrontendTask</a></li><li><a href="global.html#runUnitTestsForBackendTask">runUnitTestsForBackendTask</a></li><li><a href="global.html#runUnitTestsForFrontendTask">runUnitTestsForFrontendTask</a></li>
|
|
37
|
+
</ul>
|
|
38
|
+
</li>
|
|
39
|
+
|
|
40
|
+
</ul>
|
|
41
|
+
|
|
42
|
+
<div class="col-sm-3 col-md-3">
|
|
43
|
+
<form class="navbar-form" role="search">
|
|
44
|
+
<div class="input-group">
|
|
45
|
+
<input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
|
|
46
|
+
<div class="input-group-btn">
|
|
47
|
+
<button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</form>
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
<div class="container" id="toc-content">
|
|
60
|
+
<div class="row">
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
<div class="col-md-12">
|
|
64
|
+
|
|
65
|
+
<div id="main">
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
<h1 class="page-title">Source: patches/patch.task.mjs</h1>
|
|
69
|
+
|
|
70
|
+
<section>
|
|
71
|
+
<article>
|
|
72
|
+
<pre
|
|
73
|
+
class="sunlight-highlight-javascript linenums">import colors from 'ansi-colors'
|
|
74
|
+
import log from 'fancy-log'
|
|
75
|
+
import {
|
|
76
|
+
readFileSync,
|
|
77
|
+
writeFileSync
|
|
78
|
+
} from 'node:fs'
|
|
79
|
+
import { relative } from 'node:path'
|
|
80
|
+
import { packageRootDirectory } from '../_utils.mjs'
|
|
81
|
+
|
|
82
|
+
const {
|
|
83
|
+
green,
|
|
84
|
+
blue
|
|
85
|
+
} = colors
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @method npm run patch
|
|
89
|
+
* @global
|
|
90
|
+
* @description Will apply some patch/replacements in dependencies
|
|
91
|
+
*/
|
|
92
|
+
const patchTask = ( done ) => {
|
|
93
|
+
|
|
94
|
+
// patch jsdoc
|
|
95
|
+
{
|
|
96
|
+
const jsdocFilePath = 'node_modules/jsdoc/cli.js'
|
|
97
|
+
const searchValue = 'case \'.js\':'
|
|
98
|
+
const replaceValue = '' +
|
|
99
|
+
'case \'.mjs\':' + '\n' +
|
|
100
|
+
'\t\t\t\t\t' + 'config = require( path.resolve(confPath) ).default || {};' + '\n' +
|
|
101
|
+
'\t\t\t\t\t' + 'break;' + '\n' +
|
|
102
|
+
'\t\t\t\t' + 'case \'.js\':' + '\n' +
|
|
103
|
+
'\t\t\t\t' + 'case \'.cjs\':'
|
|
104
|
+
const fileContent = readFileSync( jsdocFilePath ).toString()
|
|
105
|
+
const patchedFileContent = fileContent.replace( searchValue, replaceValue )
|
|
106
|
+
writeFileSync( jsdocFilePath, patchedFileContent )
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
done()
|
|
110
|
+
}
|
|
111
|
+
patchTask.displayName = 'patch'
|
|
112
|
+
patchTask.description = 'Will apply some patch/replacements in dependencies'
|
|
113
|
+
patchTask.flags = null
|
|
114
|
+
|
|
115
|
+
log( 'Loading ', green( relative( packageRootDirectory, import.meta.filename ) ), `with task ${ blue( patchTask.displayName ) }` )
|
|
116
|
+
|
|
117
|
+
export { patchTask }</pre>
|
|
118
|
+
</article>
|
|
119
|
+
</section>
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
<div class="clearfix"></div>
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
<div class="modal fade" id="searchResults">
|
|
137
|
+
<div class="modal-dialog">
|
|
138
|
+
<div class="modal-content">
|
|
139
|
+
<div class="modal-header">
|
|
140
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
141
|
+
<h4 class="modal-title">Search results</h4>
|
|
142
|
+
</div>
|
|
143
|
+
<div class="modal-body"></div>
|
|
144
|
+
<div class="modal-footer">
|
|
145
|
+
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
146
|
+
</div>
|
|
147
|
+
</div><!-- /.modal-content -->
|
|
148
|
+
</div><!-- /.modal-dialog -->
|
|
149
|
+
</div>
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
<footer>
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
<span class="copyright">
|
|
156
|
+
Copyright 2015-Present <a href="https://github.com/Itee">Itee</a> (Tristan Valcke)
|
|
157
|
+
</span>
|
|
158
|
+
|
|
159
|
+
<span class="jsdoc-message">
|
|
160
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a>
|
|
161
|
+
|
|
162
|
+
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
|
163
|
+
</span>
|
|
164
|
+
</footer>
|
|
165
|
+
|
|
166
|
+
<script src="scripts/docstrap.lib.js"></script>
|
|
167
|
+
<script src="scripts/toc.js"></script>
|
|
168
|
+
|
|
169
|
+
<script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
<script>
|
|
173
|
+
$( function () {
|
|
174
|
+
$( "[id*='$']" ).each( function () {
|
|
175
|
+
var $this = $( this );
|
|
176
|
+
|
|
177
|
+
$this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
|
|
178
|
+
} );
|
|
179
|
+
|
|
180
|
+
$( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
|
|
181
|
+
var $this = $( this );
|
|
182
|
+
|
|
183
|
+
var example = $this.find( "code" );
|
|
184
|
+
exampleText = example.html();
|
|
185
|
+
var lang = /{@lang (.*?)}/.exec( exampleText );
|
|
186
|
+
if ( lang && lang[1] ) {
|
|
187
|
+
exampleText = exampleText.replace( lang[0], "" );
|
|
188
|
+
example.html( exampleText );
|
|
189
|
+
lang = lang[1];
|
|
190
|
+
} else {
|
|
191
|
+
var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
|
|
192
|
+
lang = langClassMatch ? langClassMatch[1] : "javascript";
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
if ( lang ) {
|
|
196
|
+
|
|
197
|
+
$this
|
|
198
|
+
.addClass( "sunlight-highlight-" + lang )
|
|
199
|
+
.addClass( "linenums" )
|
|
200
|
+
.html( example.html() );
|
|
201
|
+
|
|
202
|
+
}
|
|
203
|
+
} );
|
|
204
|
+
|
|
205
|
+
Sunlight.highlightAll( {
|
|
206
|
+
lineNumbers : true,
|
|
207
|
+
showMenu : true,
|
|
208
|
+
enableDoclinks : true
|
|
209
|
+
} );
|
|
210
|
+
|
|
211
|
+
$.catchAnchorLinks( {
|
|
212
|
+
navbarOffset: 10
|
|
213
|
+
} );
|
|
214
|
+
$( "#toc" ).toc( {
|
|
215
|
+
anchorName : function ( i, heading, prefix ) {
|
|
216
|
+
return $( heading ).attr( "id" ) || ( prefix + i );
|
|
217
|
+
},
|
|
218
|
+
selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
|
|
219
|
+
showAndHide : false,
|
|
220
|
+
smoothScrolling: true
|
|
221
|
+
} );
|
|
222
|
+
|
|
223
|
+
$( "#main span[id^='toc']" ).addClass( "toc-shim" );
|
|
224
|
+
$( '.dropdown-toggle' ).dropdown();
|
|
225
|
+
|
|
226
|
+
$( "table" ).each( function () {
|
|
227
|
+
var $this = $( this );
|
|
228
|
+
$this.addClass('table');
|
|
229
|
+
} );
|
|
230
|
+
|
|
231
|
+
} );
|
|
232
|
+
</script>
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
<!--Navigation and Symbol Display-->
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
<!--Google Analytics-->
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
<script type="text/javascript">
|
|
244
|
+
$(document).ready(function() {
|
|
245
|
+
SearcherDisplay.init();
|
|
246
|
+
});
|
|
247
|
+
</script>
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
</body>
|
|
251
|
+
</html>
|