asva-vue-filters
Advanced tools
Comparing version 0.2.0 to 0.2.1
20
index.js
@@ -1,12 +0,16 @@ | ||
import components from './components/components' | ||
import _components from './components/components' | ||
import _child from './mixins/child' | ||
import _parent from './mixins/parent' | ||
import child from './mixins/child' | ||
import parent from './mixins/parent' | ||
export default { | ||
mixins: { | ||
child, | ||
parent, | ||
child: _child, | ||
parent: _parent, | ||
}, | ||
components, | ||
} | ||
components: _components, | ||
} | ||
export var childMixin = _child | ||
export var parentMixin = _parent | ||
export var components = _components | ||
import _ from 'lodash' | ||
import storage from './../libs/LocalStorage' | ||
module.exports = { | ||
export default { | ||
filters: { | ||
@@ -38,3 +38,3 @@ data: {}, | ||
this.$options.filters.data = {} | ||
if (this.$options.filters.storageName === null) { | ||
@@ -79,3 +79,3 @@ return | ||
}, | ||
loadState: function (state){ | ||
loadState: function (state) { | ||
this.$options.filters.data = {} | ||
@@ -82,0 +82,0 @@ this.$broadcast('set-filter', state) |
{ | ||
"name": "asva-vue-filters", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Decoupled filter block for vue.js. Mixins and example components", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28353
191