Skip to content

Commit

Permalink
0.9.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Download committed Sep 15, 2015
1 parent 4ce2355 commit 590e0a4
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 28 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# memorystorage <sub><sup>v0.9.9</sup></sub>
# memorystorage <sub><sup>v0.9.10</sup></sub>
Memory-backed storage that implements the [Web Storage API](http://www.w3.org/TR/webstorage/), making it a drop-in replacement for `localStorage` and `sessionStorage` in environments where these are not available.
[Project website](http://download.github.io/memorystorage)

## Download
* [memorystorage.umd.js](https://cdn.rawgit.com/download/memorystorage/0.9.9/src/memorystorage.umd.js) (~4kB, commented)
* [memorystorage.min.js](https://cdn.rawgit.com/download/memorystorage/0.9.9/dist/memorystorage.min.js) (~2kB, minified)
* [memorystorage.min.js.map](https://cdn.rawgit.com/download/memorystorage/0.9.9/dist/memorystorage.min.js.map) (~2kB, debug map file)
* [memorystorage.umd.js](https://cdn.rawgit.com/download/memorystorage/0.9.10/dist/memorystorage.umd.js) (~4kB, commented)
* [memorystorage.min.js](https://cdn.rawgit.com/download/memorystorage/0.9.10/dist/memorystorage.min.js) (~2kB, minified)
* [memorystorage.min.js.map](https://cdn.rawgit.com/download/memorystorage/0.9.10/dist/memorystorage.min.js.map) (~2kB, debug map file)

## Include on your page
`memorystorage` can be used directly from CDN, from a local script file, or from a module loader.

### CDN
This is by far the easiest method and gives good performance to boost. Use this if you are in doubt.
```xml
<script src="https://cdn.rawgit.com/download/memorystorage/0.9.9/dist/memorystorage.min.js"></script>
<script src="https://cdn.rawgit.com/download/memorystorage/0.9.10/dist/memorystorage.min.js"></script>
```

### Local script file
Expand Down Expand Up @@ -44,7 +44,7 @@ To be able to load MemoryStorage from CDN as an AMD module, configure the CDN ur
```javascript
require.config({
paths: {
'memorystorage': 'https://cdn.rawgit.com/download/memorystorage/0.9.9/dist/memorystorage.min'
'memorystorage': 'https://cdn.rawgit.com/download/memorystorage/0.9.10/dist/memorystorage.min'
}
});
```
Expand Down
4 changes: 2 additions & 2 deletions dist/memorystorage.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/memorystorage.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions dist/memorystorage.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
else {u[m] = d();}
}(this, 'MemoryStorage', function() {'use strict';

(function (u, m, d) {
if (typeof define === 'function' && define.amd) {define('memorystorage', [], function(){return (d());});}
else if (typeof exports === 'object') {module.exports = d();}
else {u[m] = d();}
}(this, 'MemoryStorage', function() {'use strict';

/*!
* memorystorage.js - A memory-backed implementation of the Web Storage API.
*
Expand Down Expand Up @@ -104,9 +98,5 @@ function MemoryStorage(id) {// jshint ignore:line
}


return MemoryStorage;
}));


return MemoryStorage;
}));
2 changes: 1 addition & 1 deletion doc/classes.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ <h3 class="subsection-title">Classes</h3>

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.2</a>
on Mon Sep 14th 2015 using the <a
on Tue Sep 15th 2015 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ <h1 class="page-title">Index</h1>

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.2</a>
on Mon Sep 14th 2015 using the <a
on Tue Sep 15th 2015 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/memorystorage.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ <h1 class="page-title">Source: memorystorage.js</h1>

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.2</a>
on Mon Sep 14th 2015 using the <a
on Tue Sep 15th 2015 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/module-memorystorage.MemoryStorage.html
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ <h5>Parameters:</h5>

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.2</a>
on Mon Sep 14th 2015 using the <a
on Tue Sep 15th 2015 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/module-memorystorage.html
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ <h3 class="subsection-title">Classes</h3>

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.2</a>
on Mon Sep 14th 2015 using the <a
on Tue Sep 15th 2015 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion doc/modules.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ <h3 class="subsection-title">Classes</h3>

<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.2</a>
on Mon Sep 14th 2015 using the <a
on Tue Sep 15th 2015 using the <a
href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
</span>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ module.exports = function(grunt) {
options : {
jshintrc : '.jshintrc'
},
all: [ '<%= pkg.main %>' ]
all: [ '<%= pkg.src %>' ]
},
umd: {
all: {
options: {
src: '<%= pkg.main %>',
src: '<%= pkg.src %>',
dest: '<%= pkg.dist.umd %>',
template: 'umd-lite.hbs',
objectToExport: '<%= pkg.exports[0] %>',
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "memorystorage",
"version": "0.9.9",
"version": "0.9.10",
"description": "Memory-backed implementation of the Web Storage API",
"src": "src/memorystorage.js",
"main": "dist/memorystorage.umd.js",
"dist": {
"umd": "dist/memorystorage.umd.js",
Expand Down

0 comments on commit 590e0a4

Please sign in to comment.