-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
node_modules | ||
coverage | ||
.DS_Store | ||
built | ||
src | ||
examples | ||
docs | ||
|
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Vectorious: index.ts</title> | ||
|
||
<link type="text/css" rel="stylesheet" href="styles/vendor/prism-custom.css"> | ||
|
||
<link type="text/css" rel="stylesheet" href="styles/styles.css"> | ||
|
||
|
||
<style> | ||
:root { | ||
|
||
|
||
--primary-color: #0E6EB8; | ||
|
||
|
||
--secondary-color: #000000; | ||
|
||
|
||
--nav-title-size: 0; | ||
|
||
} | ||
</style> | ||
|
||
<style> | ||
.container { | ||
margin: 0; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<header class="layout-header"> | ||
|
||
<h1> | ||
<a href="./index.html"> | ||
Vectorious | ||
</a> | ||
</h1> | ||
<nav class="layout-nav"> | ||
<ul><li class="nav-heading">Modules</li><li class="nav-heading"><span class="nav-item-type type-module" title="module">M</span><span class="nav-item-name is-module"><a href="module-Globals.html">Globals</a></span></li></ul> | ||
</nav> | ||
</header> | ||
|
||
|
||
<main class="layout-main layout-content--source"> | ||
<div class="container"> | ||
<p class="page-kind">source</p> | ||
<h1 class="page-title">index.ts</h1> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<section> | ||
<article> | ||
<pre id="source" class="source-page line-numbers"><code class="language-js">/** | ||
* @module Globals | ||
*/ | ||
export * from './core'; | ||
export * from './iterator'; | ||
</code></pre> | ||
</article> | ||
</section> | ||
|
||
|
||
|
||
|
||
</div> | ||
</main> | ||
|
||
<footer class="layout-footer"> | ||
<div class="container"> | ||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Sat Apr 17 2021 18:31:08 GMT+0200 (Central European Summer Time) | ||
</div> | ||
</footer> | ||
|
||
|
||
|
||
<script src="scripts/prism.dev.js"></script> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
(function() { | ||
|
||
if (typeof self === 'undefined' || !self.Prism || !self.document) { | ||
return; | ||
} | ||
|
||
Prism.hooks.add('complete', function (env) { | ||
if (!env.code) { | ||
return; | ||
} | ||
|
||
// works only for <code> wrapped inside <pre> (not inline) | ||
var pre = env.element.parentNode; | ||
var clsReg = /\s*\bline-numbers\b\s*/; | ||
if ( | ||
!pre || !/pre/i.test(pre.nodeName) || | ||
// Abort only if nor the <pre> nor the <code> have the class | ||
(!clsReg.test(pre.className) && !clsReg.test(env.element.className)) | ||
) { | ||
return; | ||
} | ||
|
||
if (env.element.querySelector(".line-numbers-rows")) { | ||
// Abort if line numbers already exists | ||
return; | ||
} | ||
|
||
if (clsReg.test(env.element.className)) { | ||
// Remove the class "line-numbers" from the <code> | ||
env.element.className = env.element.className.replace(clsReg, ''); | ||
} | ||
if (!clsReg.test(pre.className)) { | ||
// Add the class "line-numbers" to the <pre> | ||
pre.className += ' line-numbers'; | ||
} | ||
|
||
var match = env.code.match(/\n(?!$)/g); | ||
var linesNum = match ? match.length + 1 : 1; | ||
var lineNumbersWrapper; | ||
|
||
var lines = new Array(linesNum + 1); | ||
lines = lines.join('<span></span>'); | ||
|
||
lineNumbersWrapper = document.createElement('span'); | ||
lineNumbersWrapper.setAttribute('aria-hidden', 'true'); | ||
lineNumbersWrapper.className = 'line-numbers-rows'; | ||
lineNumbersWrapper.innerHTML = lines; | ||
|
||
if (pre.hasAttribute('data-start')) { | ||
pre.style.counterReset = 'linenumber ' + (parseInt(pre.getAttribute('data-start'), 10) - 1); | ||
} | ||
|
||
env.element.appendChild(lineNumbersWrapper); | ||
|
||
}); | ||
|
||
}()); |