Skip to content

Commit

Permalink
Merge pull request #22 from yarkovaleksei/dev
Browse files Browse the repository at this point in the history
v3.3.0
  • Loading branch information
yarkovaleksei authored Apr 13, 2018
2 parents 7c28200 + 66906a3 commit 62f4653
Show file tree
Hide file tree
Showing 27 changed files with 228 additions and 47 deletions.
10 changes: 6 additions & 4 deletions dist/vue2-storage.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue2-storage v3.0.0
* vue2-storage v3.3.0
* (c) 2018 Yarkov Aleksey
* Released under the MIT License.
*/
Expand Down Expand Up @@ -59,11 +59,11 @@ var Storage = function Storage (config) {
var prototypeAccessors = { name: {},version: {},length: {},driver: {} };

prototypeAccessors.name.get = function () {
return 'vue2-storage[v3.0.0]'
return 'vue2-storage[v3.3.0]'
};

prototypeAccessors.version.get = function () {
return '3.0.0'
return '3.3.0'
};

prototypeAccessors.length.get = function () {
Expand Down Expand Up @@ -212,7 +212,9 @@ Object.defineProperties( Storage.prototype, prototypeAccessors );
/* */

function Vue2Storage (Vue, options) {
Vue.prototype.$storage = new Storage(options);
var storage = new Storage(options);
Vue['$storage'] = storage;
Vue.prototype.$storage = storage;
}

window.Vue2Storage = Vue2Storage;
Expand Down
10 changes: 6 additions & 4 deletions dist/vue2-storage.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue2-storage v3.0.0
* vue2-storage v3.3.0
* (c) 2018 Yarkov Aleksey
* Released under the MIT License.
*/
Expand Down Expand Up @@ -57,11 +57,11 @@ var Storage = function Storage (config) {
var prototypeAccessors = { name: {},version: {},length: {},driver: {} };

prototypeAccessors.name.get = function () {
return 'vue2-storage[v3.0.0]'
return 'vue2-storage[v3.3.0]'
};

prototypeAccessors.version.get = function () {
return '3.0.0'
return '3.3.0'
};

prototypeAccessors.length.get = function () {
Expand Down Expand Up @@ -210,7 +210,9 @@ Object.defineProperties( Storage.prototype, prototypeAccessors );
/* */

function Vue2Storage (Vue, options) {
Vue.prototype.$storage = new Storage(options);
var storage = new Storage(options);
Vue['$storage'] = storage;
Vue.prototype.$storage = storage;
}

window.Vue2Storage = Vue2Storage;
Expand Down
10 changes: 6 additions & 4 deletions dist/vue2-storage.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue2-storage v3.0.0
* vue2-storage v3.3.0
* (c) 2018 Yarkov Aleksey
* Released under the MIT License.
*/
Expand Down Expand Up @@ -63,11 +63,11 @@ var Storage = function Storage (config) {
var prototypeAccessors = { name: {},version: {},length: {},driver: {} };

prototypeAccessors.name.get = function () {
return 'vue2-storage[v3.0.0]'
return 'vue2-storage[v3.3.0]'
};

prototypeAccessors.version.get = function () {
return '3.0.0'
return '3.3.0'
};

prototypeAccessors.length.get = function () {
Expand Down Expand Up @@ -216,7 +216,9 @@ Object.defineProperties( Storage.prototype, prototypeAccessors );
/* */

function Vue2Storage (Vue, options) {
Vue.prototype.$storage = new Storage(options);
var storage = new Storage(options);
Vue['$storage'] = storage;
Vue.prototype.$storage = storage;
}

window.Vue2Storage = Vue2Storage;
Expand Down
4 changes: 2 additions & 2 deletions dist/vue2-storage.min.js

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

17 changes: 15 additions & 2 deletions docs/en/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,19 @@

<li class="chapter " data-level="1.5.1.7" data-path="api.html">

<a href="api.html#key">


key

</a>



</li>

<li class="chapter " data-level="1.5.1.8" data-path="api.html">

<a href="api.html#keys">


Expand All @@ -264,7 +277,7 @@

</li>

<li class="chapter " data-level="1.5.1.8" data-path="api.html">
<li class="chapter " data-level="1.5.1.9" data-path="api.html">

<a href="api.html#length">

Expand Down Expand Up @@ -689,7 +702,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"API","level":"1.5","depth":1,"next":{"title":"Methods","level":"1.5.1","depth":2,"anchor":"#methods","path":"api.md","ref":"api.md#methods","articles":[{"title":"setOptions","level":"1.5.1.1","depth":3,"anchor":"#setoptions","path":"api.md","ref":"api.md#setoptions","articles":[]},{"title":"get","level":"1.5.1.2","depth":3,"anchor":"#get","path":"api.md","ref":"api.md#get","articles":[]},{"title":"set","level":"1.5.1.3","depth":3,"anchor":"#set","path":"api.md","ref":"api.md#set","articles":[]},{"title":"remove","level":"1.5.1.4","depth":3,"anchor":"#remove","path":"api.md","ref":"api.md#remove","articles":[]},{"title":"clear","level":"1.5.1.5","depth":3,"anchor":"#clear","path":"api.md","ref":"api.md#clear","articles":[]},{"title":"has","level":"1.5.1.6","depth":3,"anchor":"#has","path":"api.md","ref":"api.md#has","articles":[]},{"title":"keys","level":"1.5.1.7","depth":3,"anchor":"#keys","path":"api.md","ref":"api.md#keys","articles":[]},{"title":"length","level":"1.5.1.8","depth":3,"anchor":"#length","path":"api.md","ref":"api.md#length","articles":[]}]},"previous":{"title":"Options","level":"1.4","depth":1,"path":"options.md","ref":"options.md","articles":[]},"dir":"ltr"},"config":{"plugins":["edit-link","theme-vuejs@git+https://github.com/pearofducks/gitbook-plugin-theme-vuejs.git","-fontsettings","github","advanced-emoji@0.2.1"],"root":"./","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"github":{"url":"https://github.com/yarkovaleksei/vue2-storage/"},"search":{},"theme-vuejs":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"highlight":{},"advanced-emoji":{"embedEmojis":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit This Page","base":"https://github.com/yarkovaleksei/vue2-storage/tree/dev/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"language":"en","links":{"sharing":{"facebook":true,"twitter":true}},"gitbook":"*"},"file":{"path":"api.md","mtime":"2018-04-03T20:22:44.125Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-04-03T21:40:10.100Z"},"basePath":".","book":{"language":"en"}});
gitbook.page.hasChanged({"page":{"title":"API","level":"1.5","depth":1,"next":{"title":"Methods","level":"1.5.1","depth":2,"anchor":"#methods","path":"api.md","ref":"api.md#methods","articles":[{"title":"setOptions","level":"1.5.1.1","depth":3,"anchor":"#setoptions","path":"api.md","ref":"api.md#setoptions","articles":[]},{"title":"get","level":"1.5.1.2","depth":3,"anchor":"#get","path":"api.md","ref":"api.md#get","articles":[]},{"title":"set","level":"1.5.1.3","depth":3,"anchor":"#set","path":"api.md","ref":"api.md#set","articles":[]},{"title":"remove","level":"1.5.1.4","depth":3,"anchor":"#remove","path":"api.md","ref":"api.md#remove","articles":[]},{"title":"clear","level":"1.5.1.5","depth":3,"anchor":"#clear","path":"api.md","ref":"api.md#clear","articles":[]},{"title":"has","level":"1.5.1.6","depth":3,"anchor":"#has","path":"api.md","ref":"api.md#has","articles":[]},{"title":"key","level":"1.5.1.7","depth":3,"anchor":"#key","path":"api.md","ref":"api.md#key","articles":[]},{"title":"keys","level":"1.5.1.8","depth":3,"anchor":"#keys","path":"api.md","ref":"api.md#keys","articles":[]},{"title":"length","level":"1.5.1.9","depth":3,"anchor":"#length","path":"api.md","ref":"api.md#length","articles":[]}]},"previous":{"title":"Options","level":"1.4","depth":1,"path":"options.md","ref":"options.md","articles":[]},"dir":"ltr"},"config":{"plugins":["edit-link","theme-vuejs@git+https://github.com/pearofducks/gitbook-plugin-theme-vuejs.git","-fontsettings","github","advanced-emoji@0.2.1"],"root":"./","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"github":{"url":"https://github.com/yarkovaleksei/vue2-storage/"},"search":{},"theme-vuejs":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"highlight":{},"advanced-emoji":{"embedEmojis":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit This Page","base":"https://github.com/yarkovaleksei/vue2-storage/tree/dev/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"language":"en","links":{"sharing":{"facebook":true,"twitter":true}},"gitbook":"*"},"file":{"path":"api.md","mtime":"2018-04-13T20:03:54.632Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-04-13T20:14:16.381Z"},"basePath":".","book":{"language":"en"}});
});
</script>
</div>
Expand Down
Loading

0 comments on commit 62f4653

Please sign in to comment.