diff options
| author | Marak <[email protected]> | 2020-08-22 21:08:31 -0400 |
|---|---|---|
| committer | Marak <[email protected]> | 2020-08-22 21:08:31 -0400 |
| commit | 868ab94a8d8700fa46155283784ab5538181cef1 (patch) | |
| tree | ac885e1d753df9205c3dbbf1145ad3ac4b35074a /doc/faker.helpers.html | |
| parent | efa4c64e60858c05c69adcb37645e8a58577809a (diff) | |
| download | faker-868ab94a8d8700fa46155283784ab5538181cef1.tar.xz faker-868ab94a8d8700fa46155283784ab5538181cef1.zip | |
Update generated docs and ReadMe
Update Licenses
Diffstat (limited to 'doc/faker.helpers.html')
| -rw-r--r-- | doc/faker.helpers.html | 5298 |
1 files changed, 5262 insertions, 36 deletions
diff --git a/doc/faker.helpers.html b/doc/faker.helpers.html index 535fad97..175c68e0 100644 --- a/doc/faker.helpers.html +++ b/doc/faker.helpers.html @@ -33,21 +33,30 @@ <li class="dropdown"> <a href="namespaces.list.html" class="dropdown-toggle" data-toggle="dropdown">Namespaces<b class="caret"></b></a> <ul class="dropdown-menu "> - <li><a href="faker.html">faker</a></li><li><a href="faker.address.html">faker.address</a></li><li><a href="faker.commerce.html">faker.commerce</a></li><li><a href="faker.company.html">faker.company</a></li><li><a href="faker.database.html">faker.database</a></li><li><a href="faker.date.html">faker.date</a></li><li><a href="faker.finance.html">faker.finance</a></li><li><a href="faker.hacker.html">faker.hacker</a></li><li><a href="faker.helpers.html">faker.helpers</a></li><li><a href="faker.image.html">faker.image</a></li><li><a href="faker.internet.html">faker.internet</a></li><li><a href="faker.lorem.html">faker.lorem</a></li><li><a href="faker.name.html">faker.name</a></li><li><a href="faker.phone.html">faker.phone</a></li><li><a href="faker.random.html">faker.random</a></li><li><a href="faker.system.html">faker.system</a></li> + <li><a href="faker.html">faker</a></li><li><a href="faker.address.html">faker.address</a></li><li><a href="faker.commerce.html">faker.commerce</a></li><li><a href="faker.company.html">faker.company</a></li><li><a href="faker.database.html">faker.database</a></li><li><a href="faker.date.html">faker.date</a></li><li><a href="faker.finance.html">faker.finance</a></li><li><a href="faker.git.html">faker.git</a></li><li><a href="faker.hacker.html">faker.hacker</a></li><li><a href="faker.helpers.html">faker.helpers</a></li><li><a href="faker.image.html">faker.image</a></li><li><a href="faker.image.lorempixel.html">faker.image.lorempixel</a></li><li><a href="faker.image.unsplash.html">faker.image.unsplash</a></li><li><a href="faker.internet.html">faker.internet</a></li><li><a href="faker.lorem.html">faker.lorem</a></li><li><a href="faker.name.html">faker.name</a></li><li><a href="faker.phone.html">faker.phone</a></li><li><a href="faker.random.html">faker.random</a></li><li><a href="faker.system.html">faker.system</a></li><li><a href="faker.time.html">faker.time</a></li><li><a href="faker.unique.html">faker.unique</a></li><li><a href="faker.vehicle.html">faker.vehicle</a></li> + </ul> + </li> + + <li class="dropdown"> + <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a> + <ul class="dropdown-menu "> + <li><a href="global.html#unique">unique</a></li> </ul> </li> </ul> - <div class="col-sm-3 col-md-3"> - <form class="navbar-form" role="search"> - <div class="input-group"> - <input type="text" class="form-control" placeholder="Search" name="q" id="search-input"> - <div class="input-group-btn"> - <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button> + + <div class="col-sm-3 col-md-3"> + <form class="navbar-form" role="search"> + <div class="input-group"> + <input type="text" class="form-control" placeholder="Search" name="q" id="search-input"> + <div class="input-group-btn"> + <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button> + </div> </div> - </div> - </form> - </div> + </form> + </div> + </div> </div> @@ -224,6 +233,162 @@ <hr> <dt> + <h4 class="name" id=".contextualCard"><span class="type-signature"><static> </span>contextualCard()</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>contextualCard</p> + </div> + + + + + + + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".createCard"><span class="type-signature"><static> </span>createCard()</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>createCard</p> + </div> + + + + + + + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> <h4 class="name" id=".createCard"><span class="type-signature"><static> </span>createCard()</h4> @@ -380,6 +545,84 @@ <hr> <dt> + <h4 class="name" id=".createTransaction"><span class="type-signature"><static> </span>createTransaction()</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>createTransaction</p> + </div> + + + + + + + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> <h4 class="name" id=".mustache"><span class="type-signature"><static> </span>mustache(str, data)</h4> @@ -532,6 +775,286 @@ <hr> <dt> + <h4 class="name" id=".mustache"><span class="type-signature"><static> </span>mustache(str, data)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>mustache</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>str</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + + <tr> + + <td class="name"><code>data</code></td> + + + <td class="type"> + + +<span class="param-type">object</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".randomize"><span class="type-signature"><static> </span>randomize(array)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>backword-compatibility</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>array</code></td> + + + <td class="type"> + + +<span class="param-type">array</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> <h4 class="name" id=".randomize"><span class="type-signature"><static> </span>randomize(array)</h4> @@ -660,6 +1183,1001 @@ <hr> <dt> + <h4 class="name" id=".regexpStyleStringParse"><span class="type-signature"><static> </span>regexpStyleStringParse(string)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>parse string paterns in a similar way to RegExp</p> +<p>e.g. "#{3}test[1-5]" -> "###test4"</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".regexpStyleStringParse"><span class="type-signature"><static> </span>regexpStyleStringParse(string)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>parse string paterns in a similar way to RegExp</p> +<p>e.g. "#{3}test[1-5]" -> "###test4"</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".repeatString"><span class="type-signature"><static> </span>repeatString(string, num)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>string repeat helper, alternative to String.prototype.repeat.... See PR #382</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + + <tr> + + <td class="name"><code>num</code></td> + + + <td class="type"> + + +<span class="param-type">number</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".repeatString"><span class="type-signature"><static> </span>repeatString(string, num)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>string repeat helper, alternative to String.prototype.repeat.... See PR #382</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + + <tr> + + <td class="name"><code>num</code></td> + + + <td class="type"> + + +<span class="param-type">number</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".replaceCreditCardSymbols"><span class="type-signature"><static> </span>replaceCreditCardSymbols(string, symbol)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>replace symbols in a credit card schems including Luhn checksum</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + + <tr> + + <td class="name"><code>symbol</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".replaceCreditCardSymbols"><span class="type-signature"><static> </span>replaceCreditCardSymbols(string, symbol)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>replace symbols in a credit card schems including Luhn checksum</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + + <tr> + + <td class="name"><code>symbol</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".replaceSymbols"><span class="type-signature"><static> </span>replaceSymbols(string)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>parses string for symbols (numbers or letters) and replaces them appropriately (# will be replaced with number, +? with letter and * will be replaced with number or letter)</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> <h4 class="name" id=".replaceSymbols"><span class="type-signature"><static> </span>replaceSymbols(string)</h4> @@ -668,7 +2186,136 @@ <div class="description"> - <p>parses string for symbols (numbers or letters) and replaces them appropriately</p> + <p>parses string for symbols (numbers or letters) and replaces them appropriately (# will be replaced with number, +? with letter and * will be replaced with number or letter)</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".replaceSymbolWithNumber"><span class="type-signature"><static> </span>replaceSymbolWithNumber(string, symbol)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>parses string for a symbol and replace it with a random number from 1-10</p> </div> @@ -724,6 +2371,30 @@ </tr> + + <tr> + + <td class="name"><code>symbol</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"><p>defaults to <code>"#"</code></p></td> + </tr> + + </tbody> </table> @@ -1068,6 +2739,262 @@ <hr> <dt> + <h4 class="name" id=".shuffle"><span class="type-signature"><static> </span>shuffle(o)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>takes an array and returns it randomized</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>o</code></td> + + + <td class="type"> + + +<span class="param-type">array</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".slugify"><span class="type-signature"><static> </span>slugify(string)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>slugifies string</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> <h4 class="name" id=".slugify"><span class="type-signature"><static> </span>slugify(string)</h4> @@ -1270,6 +3197,3300 @@ </dd> + + +<hr> +<dt> + <h4 class="name" id=".userCard"><span class="type-signature"><static> </span>userCard()</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>userCard</p> + </div> + + + + + + + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + </dl> + + + + + +</article> + +</section> + + + + + <h1 class="page-title">Namespace: helpers</h1> +<section> + +<header> + + <h2> + <span class="ancestors"><a href="faker.html">faker</a>.</span> + + helpers + </h2> + + +</header> + + +<article> + <div class="container-overview"> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + </div> + + + + + + + + + + + + + + + <h3 class="subsection-title">Methods</h3> + + <dl> + +<hr> +<dt> + <h4 class="name" id=".contextualCard"><span class="type-signature"><static> </span>contextualCard()</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>contextualCard</p> + </div> + + + + + + + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".contextualCard"><span class="type-signature"><static> </span>contextualCard()</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>contextualCard</p> + </div> + + + + + + + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".createCard"><span class="type-signature"><static> </span>createCard()</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>createCard</p> + </div> + + + + + + + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".createCard"><span class="type-signature"><static> </span>createCard()</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>createCard</p> + </div> + + + + + + + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".createTransaction"><span class="type-signature"><static> </span>createTransaction()</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>createTransaction</p> + </div> + + + + + + + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".createTransaction"><span class="type-signature"><static> </span>createTransaction()</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>createTransaction</p> + </div> + + + + + + + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".mustache"><span class="type-signature"><static> </span>mustache(str, data)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>mustache</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>str</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + + <tr> + + <td class="name"><code>data</code></td> + + + <td class="type"> + + +<span class="param-type">object</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".mustache"><span class="type-signature"><static> </span>mustache(str, data)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>mustache</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>str</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + + <tr> + + <td class="name"><code>data</code></td> + + + <td class="type"> + + +<span class="param-type">object</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".randomize"><span class="type-signature"><static> </span>randomize(array)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>backword-compatibility</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>array</code></td> + + + <td class="type"> + + +<span class="param-type">array</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".randomize"><span class="type-signature"><static> </span>randomize(array)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>backword-compatibility</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>array</code></td> + + + <td class="type"> + + +<span class="param-type">array</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".regexpStyleStringParse"><span class="type-signature"><static> </span>regexpStyleStringParse(string)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>parse string paterns in a similar way to RegExp</p> +<p>e.g. "#{3}test[1-5]" -> "###test4"</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".regexpStyleStringParse"><span class="type-signature"><static> </span>regexpStyleStringParse(string)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>parse string paterns in a similar way to RegExp</p> +<p>e.g. "#{3}test[1-5]" -> "###test4"</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".repeatString"><span class="type-signature"><static> </span>repeatString(string, num)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>string repeat helper, alternative to String.prototype.repeat.... See PR #382</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + + <tr> + + <td class="name"><code>num</code></td> + + + <td class="type"> + + +<span class="param-type">number</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".repeatString"><span class="type-signature"><static> </span>repeatString(string, num)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>string repeat helper, alternative to String.prototype.repeat.... See PR #382</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + + <tr> + + <td class="name"><code>num</code></td> + + + <td class="type"> + + +<span class="param-type">number</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".replaceCreditCardSymbols"><span class="type-signature"><static> </span>replaceCreditCardSymbols(string, symbol)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>replace symbols in a credit card schems including Luhn checksum</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + + <tr> + + <td class="name"><code>symbol</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".replaceCreditCardSymbols"><span class="type-signature"><static> </span>replaceCreditCardSymbols(string, symbol)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>replace symbols in a credit card schems including Luhn checksum</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + + <tr> + + <td class="name"><code>symbol</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".replaceSymbols"><span class="type-signature"><static> </span>replaceSymbols(string)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>parses string for symbols (numbers or letters) and replaces them appropriately (# will be replaced with number, +? with letter and * will be replaced with number or letter)</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".replaceSymbols"><span class="type-signature"><static> </span>replaceSymbols(string)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>parses string for symbols (numbers or letters) and replaces them appropriately (# will be replaced with number, +? with letter and * will be replaced with number or letter)</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".replaceSymbolWithNumber"><span class="type-signature"><static> </span>replaceSymbolWithNumber(string, symbol)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>parses string for a symbol and replace it with a random number from 1-10</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + + <tr> + + <td class="name"><code>symbol</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"><p>defaults to <code>"#"</code></p></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".replaceSymbolWithNumber"><span class="type-signature"><static> </span>replaceSymbolWithNumber(string, symbol)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>parses string for a symbol and replace it with a random number from 1-10</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + + <tr> + + <td class="name"><code>symbol</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"><p>defaults to <code>"#"</code></p></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".shuffle"><span class="type-signature"><static> </span>shuffle(o)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>takes an array and returns it randomized</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>o</code></td> + + + <td class="type"> + + +<span class="param-type">array</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".shuffle"><span class="type-signature"><static> </span>shuffle(o)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>takes an array and returns it randomized</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>o</code></td> + + + <td class="type"> + + +<span class="param-type">array</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".slugify"><span class="type-signature"><static> </span>slugify(string)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>slugifies string</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".slugify"><span class="type-signature"><static> </span>slugify(string)</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>slugifies string</p> + </div> + + + + + + + + + <h5>Parameters:</h5> + + +<table class="params table table-striped"> + <thead> + <tr> + + <th>Name</th> + + + <th>Type</th> + + + + + + <th class="last">Description</th> + </tr> + </thead> + + <tbody> + + + <tr> + + <td class="name"><code>string</code></td> + + + <td class="type"> + + +<span class="param-type">string</span> + + + + + </td> + + + + + + <td class="description last"></td> + </tr> + + + </tbody> +</table> + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".userCard"><span class="type-signature"><static> </span>userCard()</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>userCard</p> + </div> + + + + + + + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + + + +<hr> +<dt> + <h4 class="name" id=".userCard"><span class="type-signature"><static> </span>userCard()</h4> + + +</dt> +<dd> + + + <div class="description"> + <p>userCard</p> + </div> + + + + + + + + + + +<dl class="details"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</dl> + + + + + + + + + + + + + + + +</dd> + </dl> @@ -1297,28 +6518,30 @@ </div> </div> -<div class="modal fade" id="searchResults"> - <div class="modal-dialog"> - <div class="modal-content"> - <div class="modal-header"> - <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> - <h4 class="modal-title">Search results</h4> - </div> - <div class="modal-body"></div> - <div class="modal-footer"> - <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> - </div> - </div><!-- /.modal-content --> - </div><!-- /.modal-dialog --> -</div> + + <div class="modal fade" id="searchResults"> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> + <h4 class="modal-title">Search results</h4> + </div> + <div class="modal-body"></div> + <div class="modal-footer"> + <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> + </div> + </div><!-- /.modal-content --> + </div><!-- /.modal-dialog --> + </div> + <footer> <span class="jsdoc-message"> - Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a> + Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> - on 2017-02-21T13:01:35-05:00 + on 2020-08-22T21:07:02-04:00 using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>. </span> @@ -1326,7 +6549,9 @@ <script src="scripts/docstrap.lib.js"></script> <script src="scripts/toc.js"></script> -<script type="text/javascript" src="scripts/fulltext-search-ui.js"></script> + + <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script> + <script> $( function () { @@ -1336,7 +6561,7 @@ $( function () { $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) ); } ); - $( ".tutorial-section pre, .readme-section pre" ).each( function () { + $( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () { var $this = $( this ); var example = $this.find( "code" ); @@ -1372,8 +6597,7 @@ $( function () { } ); $( "#toc" ).toc( { anchorName : function ( i, heading, prefix ) { - var id = $( heading ).attr( "id" ); - return id && id.replace(/\~/g, '-inner-').replace(/\./g, '-static-') || ( prefix + i ); + return $( heading ).attr( "id" ) || ( prefix + i ); }, selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4", showAndHide : false, @@ -1399,11 +6623,13 @@ $( function () { <!--Google Analytics--> -<script type="text/javascript"> - $(document).ready(function() { - SearcherDisplay.init(); - }); -</script> + + <script type="text/javascript"> + $(document).ready(function() { + SearcherDisplay.init(); + }); + </script> + </body> </html>
\ No newline at end of file |
