Namdak Tonpa 5 years ago
parent
commit
257fc2062d
1 changed files with 73 additions and 0 deletions
  1. 73 0
      man/nitro.js.htm

+ 73 - 0
man/nitro.js.htm

@@ -0,0 +1,73 @@
+<!DOCTYPE html>
+<html>
+<head><meta charset="utf-8" />
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="viewport" content="width=device-width, initial-scale=1.0" />
+<meta name="description" content="" />
+<meta name="author" content="Maxim Sokhatsky" />
+<title>NITRO.JS</title>
+<link rel="stylesheet" href="https://n2o.dev/blank.css?x=15" />
+<link rel="stylesheet" href="https://n2o.dev/zima.css?x=15" />
+<link rel="shortcut icon" type="image/x-icon" href="../img/favicon.ico" />
+<link rel="apple-touch-icon" sizes="180x180" href="../img/apple-touch-icon.png" />
+<link rel="icon" type="image/png" sizes="32x32" href="../img/favicon-32x32.png" />
+<link rel="icon" type="image/png" sizes="16x16" href="../img/favicon-16x16.png" />
+<link rel="manifest" href="../img/site.webmanifest" />
+</head>
+<body>
+<nav>
+  <a href="https://n2o.dev">DEV</a>
+  <a href="https://nitro.n2o.dev">NITRO</a>
+  <a href="#" style="background:#ededed;">NITRO.JS</a>
+  <div class="dropdown">
+    <a onclick="drop()" class="dropbtn">EN</a>
+    <div id="dropdown" class="dropdown-content">
+      <a href="https://n2o.dev/deps/n2o/man/ua/nitro.js.htm">UA</a>
+      <a href="nitro.js.htm">EN</a>
+    </div>
+  </div>
+</nav>
+<header>
+  <a href="../index.html"><img src="https://openmoji.org/data/color/svg/1F525.svg" /></a>
+  <h1>NITRO.JS</h1>
+</header>
+<main>
+<article>
+  <section>
+    <h3>INTRO</h3>
+    <p>The <a href="https://github.com/synrc/n2o/blob/master/priv/nitro.js">nitro.js</a>
+       module provides client NITRO protocol implementation.</p>
+  </section>
+  <section>
+    <h3>API</h3>
+    <h4>direct(term)</h4>
+    <p>Sends DIRECT message from JavaScript. Use <b>enc</b> from <a href="bert.js.htm">bert.js</a></p>
+    <figure><code> > direct(tuple(atom('direct'),atom('test')));</code></figure>
+    <h4>qi(id)</h4>
+    <p>Returns DOM element by existing <b>id</b>.</p>
+    <h4>qs(id)</h4>
+    <p>Searches for DOM element.</p>
+    <h4>qn(id)</h4>
+    <p>Creates new DOM element.</p>
+    <h4>querySource(name)</h4>
+    <p>Retrives <b>value</b> fields of the given field.</p>
+    <h4>validateSources(list)</h4>
+    <p>Validates each <b>value</b> filed for the given list of fields.</p>
+    <h4>$io.do</h4>
+    <p>The event handler interceptor of the incoming IO message.</p>
+    <figure><code> $io.do = function(x) { console.log(x); }</code></figure>
+  </section>
+  <section>
+    <p>You may also want to read:
+      <a href="bert.js.htm">bert.js</a>,
+      <a href="utf8.js.htm">utf8.js</a>,
+      <a href="mq.js.htm">mq.js</a>,
+      <a href="n2o.js.htm">n2o.js</a>.
+    </p>
+  </section>
+</article>
+</main>
+<footer>2005—2019 © Synrc Research Center</footer>
+<script>function drop(){document.getElementById("dropdown").classList.toggle("show");}</script>
+</body>
+</html>