-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
9 lines (9 loc) · 8.78 KB
/
index.html
1
2
3
4
5
6
7
8
9
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>JustJs - Essential utilities for all your javascript projects.</title><meta name="description" content="JustJs is a fully tested open-source library that collects heavily-used utilities for javascript environments."><link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png?v=1.2.0"><link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png?v=1.2.0"><link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png?v=1.2.0"><link rel="manifest" href="/img/site.webmanifest?v=1.2.0"><link rel="mask-icon" href="/img/safari-pinned-tab.svg?v=1.2.0" color="#641a5b"><link rel="shortcut icon" href="/img/favicon.ico?v=1.2.0"><meta name="msapplication-TileColor" content="#641a5b"><meta name="msapplication-TileImage" content="/img/mstile-144x144.png?v=1.2.0"><meta name="msapplication-config" content="/img/browserconfig.xml?v=1.2.0"><meta name="theme-color" content="#641a5b"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="preload" href="/font/spacemono/SpaceMono-Regular.ttf" as="font"><link rel="preload" href="/v1.2.0/browser/just/js/prettify.min.js" as="script"><link rel="preload" href="/v1.2.0/browser/just/css/tomorrow.min.css" as="style"><style>@font-face{font-family:SpaceMono;src:url(/font/spacemono/SpaceMono-Regular.ttf) format('truetype');font-display:swap}:root{--vh100:100vh}*{border:0;margin:0;padding:0;-webkit-boz-sizing:border-box;-moz-boz-sizing:border-box;box-sizing:border-box}body{line-height:1.6;font-family:helvetica,arial,sans-serif;font-size:100%;overflow-x:hidden;margin:auto;background:#fff;color:#000}a{color:inherit;font-weight:700;text-decoration:none}a:focus,a:hover{text-decoration:underline}figcaption{font-weight:700;text-transform:uppercase}dt{font-weight:700;margin-top:1em}main{min-height:100%}footer[role=contentinfo]{background:#000;color:#fff;padding:2em}footer[role=contentinfo] .content-wrapper{padding:2em 0}.horizontal-list li{display:inline-block;vertical-align:middle}.horizontal-list li:not(:first-child){margin-left:2em}#home{display:table;table-layout:fixed;width:100%;height:100%}#home>*{height:100%;display:table-cell;vertical-align:middle;padding:2em;overflow-x:hidden;position:relative;box-shadow:-3px 0 5px rgba(0,0,0,.05)}#setup{background:#fbfbfb}#usage{background:#f6f6f6}#home header{position:absolute;top:0;right:0;padding:2em}#banner{text-align:center}.prettyprint{width:100%;padding:1em;background:0 0!important}code{font-family:SpaceMono,monospace}a[role=button]{padding:.5em 1em;background:#000;color:#fff;text-decoration:none}a[role=button]:focus,a[role=button]:hover{background:#37373b}#floating-button{position:fixed;bottom:0;right:0;margin:2em;z-index:999}#github-link{position:absolute;top:0;right:0;margin:2em}[hidden]{display:none}:not(#banner)>.content-wrapper{max-width:720px;margin:auto}@media all and (min-width:1520px){body,html,main{height:100%;width:100%}footer[role=contentinfo]{text-align:center}}@media all and (max-width:1520px) and (min-width:920px){#home{display:block;position:relative}#home>*{display:inline-block;padding:0}#banner{margin:auto}#banner,#setup{height:100vh;height:var(--vh100);width:50%}#usage{width:100%;padding:2em;box-shadow:0 -3px 5px rgba(0,0,0,.05)}#banner .content-wrapper,#setup .content-wrapper{position:absolute;top:50%;transform:translateY(-50%);width:100%;padding:2em}#usage header{position:relative;padding:0;text-align:right}#usage .content-wrapper{padding:2em 0}}@media all and (max-width:920px){#home>*{display:block;height:auto;box-shadow:0 -3px 5px rgba(0,0,0,.05)}#banner{height:100vh;height:var(--vh100);padding:0}#banner .content-wrapper{position:absolute;top:50%;transform:translateY(-50%);width:100%}#home header{position:relative;padding:0;text-align:right}#setup .content-wrapper,#usage .content-wrapper{padding:2em 0}.prettyprint{overflow-x:auto;padding:2em}footer[role=contentinfo]{padding-bottom:6em}}</style></head><body><main role="main"><div id="home"><div id="banner"><a id="github-link" href="https://github.com/justjs" rel="noopener noreferrer" title="JustJs on Github"><svg xmlns="http://w3.org/2000/svg" width="24" height="24"><use xlink:href="#github-logo" href="#github-logo"/></svg></a><div class="content-wrapper"><img title="JustJs" src="/img/logo-black-128x128.png?v=1.2.0" alt="JustJs" srcset="/img/logo-black-256x256.png?v=1.2.0 2x"></div><a id="floating-button" href="v1.2.0/browser/just/" role="button">Read the docs →</a></div><section id="setup"><header><h2>Setup</h2></header><div class="content-wrapper"><figure id="browser-setup"><figcaption><a href="https://github.com/justjs/just/blob/master/src/browser/" rel="noopener noreferrer">Browser</a></figcaption><dl><dt><a href="https://github.com/justjs/just/blob/master/src/browser/core.js" rel="noopener noreferrer">Core</a> → <a href="https://cdn.jsdelivr.net/npm/@just-js/[email protected]/dist/browser/core.min.js" rel="noopener noreferrer">core.min.js</a> → <a href="v1.2.0/browser/core/">docs</a></dt><dd><div class="code-wrapper"><pre class="prettyprint"><code><script
src="https://cdn.jsdelivr.net/npm/@just-js/[email protected]/dist/browser/core.min.js"
crossorigin="anonymous"
integrity="sha384-TZvc9ygGhAHvMsJW7wjpJExaQ47Me6gDZrQZPTO6FNrfJlfpz5qlJ9pdBZjHK3CT"
defer=""></script></code></pre></div></dd><dt><a href="https://github.com/justjs/just/blob/master/src/browser/just.js" rel="noopener noreferrer">Full suite</a> → <a href="https://cdn.jsdelivr.net/npm/@just-js/[email protected]/dist/browser/just.min.js">just.min.js</a> → <a href="v1.2.0/browser/just/">docs</a></dt><dd><div class="code-wrapper"><pre class="prettyprint"><code><script
src="https://cdn.jsdelivr.net/npm/@just-js/[email protected]/dist/browser/just.min.js"
crossorigin="anonymous"
integrity="sha384-QrYp4czy2AMvSLrLDfqMYVAqDcJ6gIWyU7IJcDnkDbrpBnaEteR/4CTvFGUghl04"
defer=""></script></code></pre></div></dd></dl></figure><br><figure id="nodejs-setup"><figcaption><a href="https://github.com/justjs/just/blob/master/src/server/" rel="noopener noreferrer">Node js</a> → <a href="v1.2.0/server/">docs</a></figcaption><div class="code-wrapper"><pre class="prettyprint"><code>npm i @just-js/just</code></pre></div></figure></div></section><section id="usage"><header><h2>Usage</h2></header><div class="content-wrapper"><div class="code-wrapper"><pre class="prettyprint"><code>var just = window.just;</code><br><code>// or: var just = require('@just-js/just');</code></pre></div></div></section></div></main><footer id="contentinfo" role="contentinfo"><div class="content-wrapper"><ul class="horizontal-list"><li><a href="https://github.com/justjs/just" rel="noopener noreferrer">Contribute</a></li><li><a href="https://github.com/justjs/just/issues" rel="noopener noreferrer">Report an issue</a></li></ul><br><small>© 2022 <a href="https://github.com/AlexisPuga" rel="noopener noreferrer" target="_blank">Alexis Puga</a> and <a href="https://github.com/justjs/just/graphs/contributors" target="_blank" rel="noopener noreferrer">contributors</a>. <a href="https://github.com/justjs/just" target="_blank" rel="noopener noreferrer">JustJs</a> is released under the <a href="https://github.com/justjs/just/blob/master/LICENSE" target="_blank" rel="noopener noreferrer">BSD 3-Clause License</a>.</small></div></footer><svg xmlns="http://w3.org/2000/svg" width="24" height="24" hidden><symbol id="github-logo" viewBox="0 0 11.49291 11.209466"><g transform="translate(-111.43 -122.82)"><path d="m117.17 122.82c-3.1732 0-5.746 2.5728-5.746 5.7468 0 2.5389 1.6464 4.6926 3.9299 5.4529.28751.0526.39229-.12488.39229-.27728 0-.13617-.005-.49777-.008-.9772-1.5984.34714-1.9357-.77046-1.9357-.77046-.26141-.66358-.63818-.84032-.63818-.84032-.52176-.35666.0395-.3496.0395-.3496.57679.0409.88018.59231.88018.59231.51259.87807 1.3452.62442 1.6725.47766.0522-.37147.20038-.62477.36478-.76835-1.276-.14499-2.6176-.63817-2.6176-2.8402 0-.62724.22402-1.1402.59161-1.542-.0593-.14535-.25647-.72955.0561-1.5208 0 0 .4826-.15451 1.5804.58914.45826-.12735.95003-.1912 1.4386-.19332.48789.002.97966.066 1.4386.19332 1.0971-.74365 1.5787-.58914 1.5787-.58914.31362.79128.11642 1.3755.0571 1.5208.3683.40181.59091.91475.59091 1.542 0 2.2077-1.3437 2.6935-2.624 2.8356.20637.17744.39017.52811.39017 1.0643 0 .76799-.007 1.3878-.007 1.5762 0 .15381.10336.33267.39511.27658 2.2818-.76165 3.9268-2.914 3.9268-5.4522 0-3.174-2.5732-5.7468-5.7471-5.7468" fill-rule="evenodd" fill="currentColor"/></g></symbol></svg><script>!function(){"use strict";function e(){var e=document.documentElement,t=window.innerHeight;try{e.style.setProperty("--vh100",t+"px")}catch(e){}}window.addEventListener("resize",e),e()}()</script><script src="/v1.2.0/browser/just/js/prettify.min.js" async></script><link rel="stylesheet" href="/v1.2.0/browser/just/css/tomorrow.min.css"></body></html>