Skip to content

Commit

Permalink
chore(*): Review tests, webpack and update package name
Browse files Browse the repository at this point in the history
  • Loading branch information
liqueurdetoile committed Feb 18, 2018
1 parent 9e9f8b7 commit 1a81c38
Show file tree
Hide file tree
Showing 12 changed files with 1,546 additions and 39 deletions.
12 changes: 6 additions & 6 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

<dl>
<dt><a href="#dottedKey">dottedKey</a> : <code>String</code></dt>
<dd><p>A dotted key is useful to quicly access sub-properties of
the data stored into the ObjectArray as if it was still a
<dd><p>A dotted key is useful to quickly access a subset of data
stored into the ObjectArray as if it was still a
vanilla <tt>Object</tt>.</p>
</dd>
</dl>
Expand All @@ -37,7 +37,7 @@ The ObjectArray class implements array-like properties and methods to
**Since**: 1.0.0
**Version**: 1.0.0
**Author**: Liqueur de Toile <contact@liqueurdetoile.com>
**License**: Apache-2.0 [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
**License**: MIT [https://choosealicense.com/licenses/mit/](https://choosealicense.com/licenses/mit/)

* [ObjectArray](#ObjectArray)
* [new ObjectArray(data)](#new_ObjectArray_new)
Expand All @@ -60,7 +60,7 @@ The ObjectArray class implements array-like properties and methods to
<a name="new_ObjectArray_new"></a>

### new ObjectArray(data)
The constructor is pretty simple. It can be provided with an existent object
The constructor is straight-forward. It can be provided with an existent object

**Returns**: [<code>ObjectArray</code>](#ObjectArray) - ObjectArray object

Expand Down Expand Up @@ -302,8 +302,8 @@ Returns a string suitable for a <tt>form-url-encoded</tt> query string
<a name="dottedKey"></a>

## dottedKey : <code>String</code>
A dotted key is useful to quicly access sub-properties of
the data stored into the ObjectArray as if it was still a
A dotted key is useful to quickly access a subset of data
stored into the ObjectArray as if it was still a
vanilla <tt>Object</tt>.

**Kind**: global typedef
Expand Down
6 changes: 3 additions & 3 deletions docs/html/ObjectArray.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ <h4 class="name" id="ObjectArray"><span class="type-signature"></span>new Object


<dt class="tag-license">License:</dt>
<dd class="tag-license"><ul class="dummy"><li>Apache-2.0 <a href="https://www.apache.org/licenses/LICENSE-2.0">https://www.apache.org/licenses/LICENSE-2.0</a></li></ul></dd>
<dd class="tag-license"><ul class="dummy"><li>MIT <a href="https://choosealicense.com/licenses/mit/">https://choosealicense.com/licenses/mit/</a></li></ul></dd>



Expand All @@ -137,7 +137,7 @@ <h4 class="name" id="ObjectArray"><span class="type-signature"></span>new Object


<div class="description">
<p>The constructor is pretty simple. It can be provided with an existent object</p>
<p>The constructor is straight-forward. It can be provided with an existent object</p>
</div>


Expand Down Expand Up @@ -3022,7 +3022,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Feb 18 2018 14:53:30 GMT+0100 (Paris, Madrid) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Feb 18 2018 23:33:38 GMT+0100 (Paris, Madrid) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
6 changes: 3 additions & 3 deletions docs/html/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ <h4 class="name" id="dottedKey">dottedKey</h4>


<div class="description">
<p>A dotted key is useful to quicly access sub-properties of
the data stored into the ObjectArray as if it was still a
<p>A dotted key is useful to quickly access a subset of data
stored into the ObjectArray as if it was still a
vanilla <tt>Object</tt>.</p>
</div>

Expand Down Expand Up @@ -220,7 +220,7 @@ <h5>Example</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Feb 18 2018 14:53:30 GMT+0100 (Paris, Madrid) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Feb 18 2018 23:33:38 GMT+0100 (Paris, Madrid) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
4 changes: 2 additions & 2 deletions docs/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ <h2>


<dt class="tag-license">License:</dt>
<dd class="tag-license"><ul class="dummy"><li>Apache-2.0 <a href="https://www.apache.org/licenses/LICENSE-2.0">https://www.apache.org/licenses/LICENSE-2.0</a></li></ul></dd>
<dd class="tag-license"><ul class="dummy"><li>MIT <a href="https://choosealicense.com/licenses/mit/">https://choosealicense.com/licenses/mit/</a></li></ul></dd>



Expand Down Expand Up @@ -168,7 +168,7 @@ <h2>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Feb 18 2018 14:53:30 GMT+0100 (Paris, Madrid) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Feb 18 2018 23:33:38 GMT+0100 (Paris, Madrid) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
16 changes: 8 additions & 8 deletions docs/html/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h1 class="page-title">index.js</h1>
<pre class="prettyprint source linenums"><code>/**
* @file ObjectArray class declaration
* @author Liqueur de Toile &lt;contact@liqueurdetoile.com>
* @license Apache-2.0 {@link https://www.apache.org/licenses/LICENSE-2.0}
* @license MIT {@link https://choosealicense.com/licenses/mit/}
* @see [Github]{@link https://github.com/liqueurdetoile/objectarray}
* @see [Author website]{@link https://liqueurdetoile.com}
*/
Expand All @@ -57,18 +57,18 @@ <h1 class="page-title">index.js</h1>
* @since 1.0.0
* @version 1.0.0
* @author Liqueur de Toile &lt;contact@liqueurdetoile.com>
* @license Apache-2.0 {@link https://www.apache.org/licenses/LICENSE-2.0}
* @license MIT {@link https://choosealicense.com/licenses/mit/}
* @see [Github]{@link https://github.com/liqueurdetoile/objectarray}
* @see [Author website]{@link https://liqueurdetoile.com}
*
* @param {Object} data Initial data to push into the ObjectArray
*
* @returns {ObjectArray} ObjectArray object
* @description
* The constructor is pretty simple. It can be provided with an existent object
* The constructor is straight-forward. It can be provided with an existent object
*/

class ObjectArray {
export default class ObjectArray {
constructor(data = {}) {
/**
* The inner data object
Expand Down Expand Up @@ -404,14 +404,14 @@ <h1 class="page-title">index.js</h1>
}
}

export default ObjectArray;
if(window) window.ObjectArray = ObjectArray;

/**
* @typedef dottedKey
* @type String
* @description
* A dotted key is useful to quicly access sub-properties of
* the data stored into the ObjectArray as if it was still a
* A dotted key is useful to quickly access a subset of data
* stored into the ObjectArray as if it was still a
* vanilla &lt;tt>Object&lt;/tt>.
* @example
* // Create an ObjectArray with subdata
Expand Down Expand Up @@ -440,7 +440,7 @@ <h1 class="page-title">index.js</h1>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Feb 18 2018 14:53:30 GMT+0100 (Paris, Madrid) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Feb 18 2018 23:33:38 GMT+0100 (Paris, Madrid) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
Loading

0 comments on commit 1a81c38

Please sign in to comment.