@itee/tasks 1.1.1 → 1.2.1
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 +11 -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,231 @@
|
|
|
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.2.0 Source: tests/bundlings/check-bundling.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.2.0</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: tests/bundlings/check-bundling.task.mjs</h1>
|
|
69
|
+
|
|
70
|
+
<section>
|
|
71
|
+
<article>
|
|
72
|
+
<pre
|
|
73
|
+
class="sunlight-highlight-javascript linenums">import { series } from 'gulp'
|
|
74
|
+
import { basename } from 'node:path'
|
|
75
|
+
import { logLoadingTask } from '../../_utils.mjs'
|
|
76
|
+
import { checkBundlingFromEsmBuildImportTask } from './check-bundling-from-esm-build-import.task.mjs'
|
|
77
|
+
import { checkBundlingFromEsmFilesDirectTask } from './check-bundling-from-esm-files-direct.task.mjs'
|
|
78
|
+
import { checkBundlingFromEsmFilesImportTask } from './check-bundling-from-esm-files-import.task.mjs'
|
|
79
|
+
|
|
80
|
+
logLoadingTask( import.meta.filename )
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @description In view to detect bundling side effects this task will
|
|
84
|
+
* create intermediary file for each individual export from this package
|
|
85
|
+
* and then create rollup config for each of them and bundle
|
|
86
|
+
* Todo: Check for different targets env like next task below this one
|
|
87
|
+
*/
|
|
88
|
+
const checkBundlingTask = series(
|
|
89
|
+
checkBundlingFromEsmFilesImportTask,
|
|
90
|
+
checkBundlingFromEsmBuildImportTask,
|
|
91
|
+
checkBundlingFromEsmFilesDirectTask
|
|
92
|
+
)
|
|
93
|
+
checkBundlingTask.displayName = basename( import.meta.filename, '.task.mjs' )
|
|
94
|
+
checkBundlingTask.description = 'In view to detect bundling side effects this task will create intermediary file for each individual export and then try to bundle them.'
|
|
95
|
+
|
|
96
|
+
export { checkBundlingTask }
|
|
97
|
+
</pre>
|
|
98
|
+
</article>
|
|
99
|
+
</section>
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
|
|
108
|
+
<div class="clearfix"></div>
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
<div class="modal fade" id="searchResults">
|
|
117
|
+
<div class="modal-dialog">
|
|
118
|
+
<div class="modal-content">
|
|
119
|
+
<div class="modal-header">
|
|
120
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
121
|
+
<h4 class="modal-title">Search results</h4>
|
|
122
|
+
</div>
|
|
123
|
+
<div class="modal-body"></div>
|
|
124
|
+
<div class="modal-footer">
|
|
125
|
+
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
126
|
+
</div>
|
|
127
|
+
</div><!-- /.modal-content -->
|
|
128
|
+
</div><!-- /.modal-dialog -->
|
|
129
|
+
</div>
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
<footer>
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
<span class="copyright">
|
|
136
|
+
Copyright 2015-Present <a href="https://github.com/Itee">Itee</a> (Tristan Valcke)
|
|
137
|
+
</span>
|
|
138
|
+
|
|
139
|
+
<span class="jsdoc-message">
|
|
140
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a>
|
|
141
|
+
|
|
142
|
+
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
|
143
|
+
</span>
|
|
144
|
+
</footer>
|
|
145
|
+
|
|
146
|
+
<script src="scripts/docstrap.lib.js"></script>
|
|
147
|
+
<script src="scripts/toc.js"></script>
|
|
148
|
+
|
|
149
|
+
<script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
<script>
|
|
153
|
+
$( function () {
|
|
154
|
+
$( "[id*='$']" ).each( function () {
|
|
155
|
+
var $this = $( this );
|
|
156
|
+
|
|
157
|
+
$this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
|
|
158
|
+
} );
|
|
159
|
+
|
|
160
|
+
$( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
|
|
161
|
+
var $this = $( this );
|
|
162
|
+
|
|
163
|
+
var example = $this.find( "code" );
|
|
164
|
+
exampleText = example.html();
|
|
165
|
+
var lang = /{@lang (.*?)}/.exec( exampleText );
|
|
166
|
+
if ( lang && lang[1] ) {
|
|
167
|
+
exampleText = exampleText.replace( lang[0], "" );
|
|
168
|
+
example.html( exampleText );
|
|
169
|
+
lang = lang[1];
|
|
170
|
+
} else {
|
|
171
|
+
var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
|
|
172
|
+
lang = langClassMatch ? langClassMatch[1] : "javascript";
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
if ( lang ) {
|
|
176
|
+
|
|
177
|
+
$this
|
|
178
|
+
.addClass( "sunlight-highlight-" + lang )
|
|
179
|
+
.addClass( "linenums" )
|
|
180
|
+
.html( example.html() );
|
|
181
|
+
|
|
182
|
+
}
|
|
183
|
+
} );
|
|
184
|
+
|
|
185
|
+
Sunlight.highlightAll( {
|
|
186
|
+
lineNumbers : true,
|
|
187
|
+
showMenu : true,
|
|
188
|
+
enableDoclinks : true
|
|
189
|
+
} );
|
|
190
|
+
|
|
191
|
+
$.catchAnchorLinks( {
|
|
192
|
+
navbarOffset: 10
|
|
193
|
+
} );
|
|
194
|
+
$( "#toc" ).toc( {
|
|
195
|
+
anchorName : function ( i, heading, prefix ) {
|
|
196
|
+
return $( heading ).attr( "id" ) || ( prefix + i );
|
|
197
|
+
},
|
|
198
|
+
selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
|
|
199
|
+
showAndHide : false,
|
|
200
|
+
smoothScrolling: true
|
|
201
|
+
} );
|
|
202
|
+
|
|
203
|
+
$( "#main span[id^='toc']" ).addClass( "toc-shim" );
|
|
204
|
+
$( '.dropdown-toggle' ).dropdown();
|
|
205
|
+
|
|
206
|
+
$( "table" ).each( function () {
|
|
207
|
+
var $this = $( this );
|
|
208
|
+
$this.addClass('table');
|
|
209
|
+
} );
|
|
210
|
+
|
|
211
|
+
} );
|
|
212
|
+
</script>
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
<!--Navigation and Symbol Display-->
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
<!--Google Analytics-->
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
<script type="text/javascript">
|
|
224
|
+
$(document).ready(function() {
|
|
225
|
+
SearcherDisplay.init();
|
|
226
|
+
});
|
|
227
|
+
</script>
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
</body>
|
|
231
|
+
</html>
|
|
@@ -0,0 +1,228 @@
|
|
|
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.2.0 Source: tests/run-tests.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.2.0</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: tests/run-tests.task.mjs</h1>
|
|
69
|
+
|
|
70
|
+
<section>
|
|
71
|
+
<article>
|
|
72
|
+
<pre
|
|
73
|
+
class="sunlight-highlight-javascript linenums">import { series } from 'gulp'
|
|
74
|
+
import { basename } from 'node:path'
|
|
75
|
+
import { logLoadingTask } from '../_utils.mjs'
|
|
76
|
+
import { runBenchmarksTestsTask } from './benchmarks/run-benchmarks.task.mjs'
|
|
77
|
+
import { runUnitTestsTask } from './units/run-unit-tests.task.mjs'
|
|
78
|
+
|
|
79
|
+
logLoadingTask( import.meta.filename )
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @method npm run test
|
|
83
|
+
* @global
|
|
84
|
+
* @description Will run unit tests and benchmarks for backend (node) and frontend (web-test-runner) environments
|
|
85
|
+
*/
|
|
86
|
+
const runTestsTask = series(
|
|
87
|
+
runBenchmarksTestsTask,
|
|
88
|
+
runUnitTestsTask,
|
|
89
|
+
)
|
|
90
|
+
runTestsTask.displayName = basename( import.meta.filename, '.task.mjs' )
|
|
91
|
+
runTestsTask.description = 'Will run unit tests and benchmarks for backend (node) and frontend (web-test-runner) environments.'
|
|
92
|
+
runTestsTask.flags = null
|
|
93
|
+
|
|
94
|
+
export { runTestsTask }</pre>
|
|
95
|
+
</article>
|
|
96
|
+
</section>
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
|
|
105
|
+
<div class="clearfix"></div>
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
</div>
|
|
110
|
+
</div>
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
<div class="modal fade" id="searchResults">
|
|
114
|
+
<div class="modal-dialog">
|
|
115
|
+
<div class="modal-content">
|
|
116
|
+
<div class="modal-header">
|
|
117
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
118
|
+
<h4 class="modal-title">Search results</h4>
|
|
119
|
+
</div>
|
|
120
|
+
<div class="modal-body"></div>
|
|
121
|
+
<div class="modal-footer">
|
|
122
|
+
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
123
|
+
</div>
|
|
124
|
+
</div><!-- /.modal-content -->
|
|
125
|
+
</div><!-- /.modal-dialog -->
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
<footer>
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
<span class="copyright">
|
|
133
|
+
Copyright 2015-Present <a href="https://github.com/Itee">Itee</a> (Tristan Valcke)
|
|
134
|
+
</span>
|
|
135
|
+
|
|
136
|
+
<span class="jsdoc-message">
|
|
137
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a>
|
|
138
|
+
|
|
139
|
+
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
|
140
|
+
</span>
|
|
141
|
+
</footer>
|
|
142
|
+
|
|
143
|
+
<script src="scripts/docstrap.lib.js"></script>
|
|
144
|
+
<script src="scripts/toc.js"></script>
|
|
145
|
+
|
|
146
|
+
<script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
<script>
|
|
150
|
+
$( function () {
|
|
151
|
+
$( "[id*='$']" ).each( function () {
|
|
152
|
+
var $this = $( this );
|
|
153
|
+
|
|
154
|
+
$this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
|
|
155
|
+
} );
|
|
156
|
+
|
|
157
|
+
$( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
|
|
158
|
+
var $this = $( this );
|
|
159
|
+
|
|
160
|
+
var example = $this.find( "code" );
|
|
161
|
+
exampleText = example.html();
|
|
162
|
+
var lang = /{@lang (.*?)}/.exec( exampleText );
|
|
163
|
+
if ( lang && lang[1] ) {
|
|
164
|
+
exampleText = exampleText.replace( lang[0], "" );
|
|
165
|
+
example.html( exampleText );
|
|
166
|
+
lang = lang[1];
|
|
167
|
+
} else {
|
|
168
|
+
var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
|
|
169
|
+
lang = langClassMatch ? langClassMatch[1] : "javascript";
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
if ( lang ) {
|
|
173
|
+
|
|
174
|
+
$this
|
|
175
|
+
.addClass( "sunlight-highlight-" + lang )
|
|
176
|
+
.addClass( "linenums" )
|
|
177
|
+
.html( example.html() );
|
|
178
|
+
|
|
179
|
+
}
|
|
180
|
+
} );
|
|
181
|
+
|
|
182
|
+
Sunlight.highlightAll( {
|
|
183
|
+
lineNumbers : true,
|
|
184
|
+
showMenu : true,
|
|
185
|
+
enableDoclinks : true
|
|
186
|
+
} );
|
|
187
|
+
|
|
188
|
+
$.catchAnchorLinks( {
|
|
189
|
+
navbarOffset: 10
|
|
190
|
+
} );
|
|
191
|
+
$( "#toc" ).toc( {
|
|
192
|
+
anchorName : function ( i, heading, prefix ) {
|
|
193
|
+
return $( heading ).attr( "id" ) || ( prefix + i );
|
|
194
|
+
},
|
|
195
|
+
selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
|
|
196
|
+
showAndHide : false,
|
|
197
|
+
smoothScrolling: true
|
|
198
|
+
} );
|
|
199
|
+
|
|
200
|
+
$( "#main span[id^='toc']" ).addClass( "toc-shim" );
|
|
201
|
+
$( '.dropdown-toggle' ).dropdown();
|
|
202
|
+
|
|
203
|
+
$( "table" ).each( function () {
|
|
204
|
+
var $this = $( this );
|
|
205
|
+
$this.addClass('table');
|
|
206
|
+
} );
|
|
207
|
+
|
|
208
|
+
} );
|
|
209
|
+
</script>
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
<!--Navigation and Symbol Display-->
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
<!--Google Analytics-->
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
<script type="text/javascript">
|
|
221
|
+
$(document).ready(function() {
|
|
222
|
+
SearcherDisplay.init();
|
|
223
|
+
});
|
|
224
|
+
</script>
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
</body>
|
|
228
|
+
</html>
|