Skip to content

Commit

Permalink
Update versions and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shahyar committed Jun 11, 2014
1 parent af50332 commit f5f4e3a
Show file tree
Hide file tree
Showing 11 changed files with 50 additions and 47 deletions.
11 changes: 7 additions & 4 deletions docs/Storer.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h1 class="page-title">Source: Storer.js</h1>
* {String} [default_path=''] default path for cookies
* {Boolean} [no_cookie_fallback=false] If true, do not use cookies as fallback for localStorage
* @return {Object} {cookieStorage, localStorage, memoryStorage, sessionStorage}
* @version 0.1.1
* @version 0.1.2
*/
function initStorer(callback, params) {
"use strict";
Expand Down Expand Up @@ -143,6 +143,7 @@ <h1 class="page-title">Source: Storer.js</h1>
// Check for expiry
return _checkEnd(obj._end, obj.value, remove_callback, callback_key);
}
return obj;
}
} catch (e) {}

Expand All @@ -169,7 +170,7 @@ <h1 class="page-title">Source: Storer.js</h1>
switch (typeof end) {
case "number":
// Max-age, although we allow end=0 to mimic 0 for cookies
end = end && parseInt(now / 1000 + end, 10);
end = end && parseInt(now + end, 10);
break;
case "string":
// timestamp or Date string
Expand Down Expand Up @@ -1174,8 +1175,9 @@ <h1 class="page-title">Source: Storer.js</h1>
}
}

// Did not work, try userData, cookie, or memory:
// Did not work, try alternatives...
//@ifndef LIGHT
// Try userData first
if (!_localStorage) {
_localStorage = (function () {
/**
Expand Down Expand Up @@ -1358,6 +1360,7 @@ <h1 class="page-title">Source: Storer.js</h1>
//@endif

if (!_localStorage) {
// Try cookie or memory
_localStorage = NO_COOKIE_FALLBACK ? _createMemoryStorage() : _createCookieStorage('localStorage');
}

Expand Down Expand Up @@ -1386,7 +1389,7 @@ <h2><a href="index.html">Index</a></h2><h3>Namespaces</h3><ul><li><a href="cooki
<br clear="both">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Thu May 22 2014 19:20:08 GMT-0400 (EDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Jun 11 2014 14:29:59 GMT-0400 (EDT)
</footer>

<script> prettyPrint(); </script>
Expand Down
26 changes: 13 additions & 13 deletions docs/cookieStorage.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h2>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line391">line 391</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line392">line 392</a>
</li></ul></dd>


Expand Down Expand Up @@ -130,7 +130,7 @@ <h4 class="name" id="int length"><span class="type-signature">&lt;static, consta

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line411">line 411</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line412">line 412</a>
</li></ul></dd>


Expand Down Expand Up @@ -184,7 +184,7 @@ <h4 class="name" id="String DEFAULT_DOMAIN"><span class="type-signature">&lt;sta

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line402">line 402</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line403">line 403</a>
</li></ul></dd>


Expand Down Expand Up @@ -238,7 +238,7 @@ <h4 class="name" id="String DEFAULT_PATH"><span class="type-signature">&lt;stati

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line406">line 406</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line407">line 407</a>
</li></ul></dd>


Expand Down Expand Up @@ -293,7 +293,7 @@ <h4 class="name" id="String STORE_TYPE"><span class="type-signature">&lt;static,

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line398">line 398</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line399">line 399</a>
</li></ul></dd>


Expand Down Expand Up @@ -426,7 +426,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line433">line 433</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line434">line 434</a>
</li></ul></dd>


Expand Down Expand Up @@ -602,7 +602,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line450">line 450</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line451">line 451</a>
</li></ul></dd>


Expand Down Expand Up @@ -795,7 +795,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line475">line 475</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line476">line 476</a>
</li></ul></dd>


Expand Down Expand Up @@ -1020,7 +1020,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line548">line 548</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line549">line 549</a>
</li></ul></dd>


Expand Down Expand Up @@ -1192,7 +1192,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line423">line 423</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line424">line 424</a>
</li></ul></dd>


Expand Down Expand Up @@ -1493,7 +1493,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line529">line 529</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line530">line 530</a>
</li></ul></dd>


Expand Down Expand Up @@ -1858,7 +1858,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line497">line 497</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line498">line 498</a>
</li></ul></dd>


Expand Down Expand Up @@ -1923,7 +1923,7 @@ <h2><a href="index.html">Index</a></h2><h3>Namespaces</h3><ul><li><a href="cooki
<br clear="both">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Thu May 22 2014 19:20:08 GMT-0400 (EDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Jun 11 2014 14:30:00 GMT-0400 (EDT)
</footer>

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


<dt class="tag-version">Version:</dt>
<dd class="tag-version"><ul class="dummy"><li>0.1.1</li></ul></dd>
<dd class="tag-version"><ul class="dummy"><li>0.1.2</li></ul></dd>



Expand Down Expand Up @@ -309,7 +309,7 @@ <h2><a href="index.html">Index</a></h2><h3>Namespaces</h3><ul><li><a href="cooki
<br clear="both">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Thu May 22 2014 19:20:08 GMT-0400 (EDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Jun 11 2014 14:29:59 GMT-0400 (EDT)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h2><a href="index.html">Index</a></h2><h3>Namespaces</h3><ul><li><a href="cooki
<br clear="both">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Thu May 22 2014 19:20:08 GMT-0400 (EDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Jun 11 2014 14:30:00 GMT-0400 (EDT)
</footer>

<script> prettyPrint(); </script>
Expand Down
16 changes: 8 additions & 8 deletions docs/localStorage.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h2>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line1108">line 1108</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line1109">line 1109</a>
</li></ul></dd>


Expand Down Expand Up @@ -130,7 +130,7 @@ <h4 class="name" id="int length"><span class="type-signature">&lt;static, consta

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line297">line 297</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line298">line 298</a>
</li></ul></dd>


Expand Down Expand Up @@ -195,7 +195,7 @@ <h4 class="name" id="StoreRef.clear"><span class="type-signature">&lt;static> </

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line359">line 359</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line360">line 360</a>
</li></ul></dd>


Expand Down Expand Up @@ -312,7 +312,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line309">line 309</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line310">line 310</a>
</li></ul></dd>


Expand Down Expand Up @@ -447,7 +447,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line344">line 344</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line345">line 345</a>
</li></ul></dd>


Expand Down Expand Up @@ -585,7 +585,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line332">line 332</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line333">line 333</a>
</li></ul></dd>


Expand Down Expand Up @@ -783,7 +783,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line322">line 322</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line323">line 323</a>
</li></ul></dd>


Expand Down Expand Up @@ -830,7 +830,7 @@ <h2><a href="index.html">Index</a></h2><h3>Namespaces</h3><ul><li><a href="cooki
<br clear="both">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Thu May 22 2014 19:20:08 GMT-0400 (EDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Jun 11 2014 14:30:00 GMT-0400 (EDT)
</footer>

<script> prettyPrint(); </script>
Expand Down
18 changes: 9 additions & 9 deletions docs/memoryStorage.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h2>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line580">line 580</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line581">line 581</a>
</li></ul></dd>


Expand Down Expand Up @@ -130,7 +130,7 @@ <h4 class="name" id="int length"><span class="type-signature">&lt;static, consta

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line589">line 589</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line590">line 590</a>
</li></ul></dd>


Expand Down Expand Up @@ -185,7 +185,7 @@ <h4 class="name" id="String STORE_TYPE"><span class="type-signature">&lt;static,

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line584">line 584</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line585">line 585</a>
</li></ul></dd>


Expand Down Expand Up @@ -250,7 +250,7 @@ <h4 class="name" id="clear"><span class="type-signature">&lt;static> </span>clea

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line654">line 654</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line655">line 655</a>
</li></ul></dd>


Expand Down Expand Up @@ -367,7 +367,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line610">line 610</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line611">line 611</a>
</li></ul></dd>


Expand Down Expand Up @@ -502,7 +502,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line600">line 600</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line601">line 601</a>
</li></ul></dd>


Expand Down Expand Up @@ -640,7 +640,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line635">line 635</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line636">line 636</a>
</li></ul></dd>


Expand Down Expand Up @@ -855,7 +855,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line621">line 621</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line622">line 622</a>
</li></ul></dd>


Expand Down Expand Up @@ -902,7 +902,7 @@ <h2><a href="index.html">Index</a></h2><h3>Namespaces</h3><ul><li><a href="cooki
<br clear="both">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Thu May 22 2014 19:20:08 GMT-0400 (EDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Jun 11 2014 14:30:00 GMT-0400 (EDT)
</footer>

<script> prettyPrint(); </script>
Expand Down
6 changes: 3 additions & 3 deletions docs/nameStorage.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line791">line 791</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line792">line 792</a>
</li></ul></dd>


Expand Down Expand Up @@ -134,7 +134,7 @@ <h4 class="name" id="String STORE_TYPE"><span class="type-signature">&lt;static,

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line797">line 797</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line798">line 798</a>
</li></ul></dd>


Expand Down Expand Up @@ -173,7 +173,7 @@ <h2><a href="index.html">Index</a></h2><h3>Namespaces</h3><ul><li><a href="cooki
<br clear="both">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Thu May 22 2014 19:20:08 GMT-0400 (EDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Jun 11 2014 14:30:00 GMT-0400 (EDT)
</footer>

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

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line1034">line 1034</a>
<a href="Storer.js.html">Storer.js</a>, <a href="Storer.js.html#line1035">line 1035</a>
</li></ul></dd>


Expand Down Expand Up @@ -117,7 +117,7 @@ <h2><a href="index.html">Index</a></h2><h3>Namespaces</h3><ul><li><a href="cooki
<br clear="both">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Thu May 22 2014 19:20:08 GMT-0400 (EDT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Jun 11 2014 14:30:00 GMT-0400 (EDT)
</footer>

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

0 comments on commit f5f4e3a

Please sign in to comment.