UNPKG

lib-songbeamer

Version:

transforming SongBeamer Song-Files and Ablaufplan-Files

905 lines (232 loc) • 10.3 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JSDoc: Module: index</title> <script src="scripts/prettify/prettify.js"> </script> <script src="scripts/prettify/lang-css.js"> </script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css"> </head> <body> <div id="main"> <h1 class="page-title">Module: index</h1> <section> <header> </header> <article> <div class="container-overview"> <div class="description">Packs the libs</div> <dl class="details"> <dt class="tag-version">Version:</dt> <dd class="tag-version"><ul class="dummy"><li>1.0</li></ul></dd> <dt class="tag-author">Author:</dt> <dd class="tag-author"> <ul> <li>Dominik Sigmund</li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="index.js.html">index.js</a>, <a href="index.js.html#line1">line 1</a> </li></ul></dd> </dl> </div> <h3 class="subsection-title">Requires</h3> <ul> <li><a href="module-song.html">module:song</a></li> <li><a href="module-ablauf.html">module:ablauf</a></li> <li>module:fs</li> </ul> <h3 class="subsection-title">Methods</h3> <h4 class="name" id=".ablauf2JSON"><span class="type-signature">(static) </span>ablauf2JSON<span class="signature">(file, callback)</span><span class="type-signature"></span></h4> <div class="description"> Read in Ablaufplan-File and callback a json </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>file</code></td> <td class="type"> <span class="param-type">string</span> </td> <td class="description last">Path to a Ablaufplan-File</td> </tr> <tr> <td class="name"><code>callback</code></td> <td class="type"> <span class="param-type"><a href="index_.html#~jsonAblaufCallback">index~jsonAblaufCallback</a></span> </td> <td class="description last">A Callback with an error or the Json</td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="index.js.html">index.js</a>, <a href="index.js.html#line40">line 40</a> </li></ul></dd> </dl> <h5>Returns:</h5> <div class="param-desc"> Nothing </div> <h4 class="name" id=".json2Ablauf"><span class="type-signature">(static) </span>json2Ablauf<span class="signature">(object, file, callback)</span><span class="type-signature"></span></h4> <div class="description"> Read in JSON, Write to File and callback possible Errors </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>object</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last">A JSON-Ablaufplan-Object</td> </tr> <tr> <td class="name"><code>file</code></td> <td class="type"> <span class="param-type">string</span> </td> <td class="description last">Path to an Ablaufplan-File</td> </tr> <tr> <td class="name"><code>callback</code></td> <td class="type"> <span class="param-type"><a href="index_.html#~errorCallback">index~errorCallback</a></span> </td> <td class="description last">A Callback with an error or nothing</td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="index.js.html">index.js</a>, <a href="index.js.html#line85">line 85</a> </li></ul></dd> </dl> <h5>Returns:</h5> <div class="param-desc"> Nothing </div> <h4 class="name" id=".json2Song"><span class="type-signature">(static) </span>json2Song<span class="signature">(object, file, callback)</span><span class="type-signature"></span></h4> <div class="description"> Read in JSON, Write to File and callback possible Errors </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>object</code></td> <td class="type"> <span class="param-type">object</span> </td> <td class="description last">A JSON-Song-Object</td> </tr> <tr> <td class="name"><code>file</code></td> <td class="type"> <span class="param-type">string</span> </td> <td class="description last">Path to a Song-File</td> </tr> <tr> <td class="name"><code>callback</code></td> <td class="type"> <span class="param-type"><a href="index_.html#~errorCallback">index~errorCallback</a></span> </td> <td class="description last">A Callback with an error or nothing</td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="index.js.html">index.js</a>, <a href="index.js.html#line64">line 64</a> </li></ul></dd> </dl> <h5>Returns:</h5> <div class="param-desc"> Nothing </div> <h4 class="name" id=".song2JSON"><span class="type-signature">(static) </span>song2JSON<span class="signature">(file, callback)</span><span class="type-signature"></span></h4> <div class="description"> Read in Song-File and callback a json </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>file</code></td> <td class="type"> <span class="param-type">string</span> </td> <td class="description last">Path to a Song-File</td> </tr> <tr> <td class="name"><code>callback</code></td> <td class="type"> <span class="param-type"><a href="index_.html#~jsonSongCallback">index~jsonSongCallback</a></span> </td> <td class="description last">A Callback with an error or the Json</td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="index.js.html">index.js</a>, <a href="index.js.html#line20">line 20</a> </li></ul></dd> </dl> <h5>Returns:</h5> <div class="param-desc"> Nothing </div> </article> </section> </div> <nav> <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-ablauf.html">ablauf</a></li><li><a href="module-index.html">index</a></li><li><a href="module-song.html">song</a></li></ul> </nav> <br class="clear"> <footer> Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Jan 04 2018 16:30:08 GMT+0100 (Mitteleuropäische Zeit) </footer> <script> prettyPrint(); </script> <script src="scripts/linenumber.js"> </script> </body> </html>