Comparing version 0.9.13 to 0.9.14
{ | ||
"name": "material", | ||
"version": "0.9.13", | ||
"version": "0.9.14", | ||
"description": "A lightweight implementation of Material Design Components for the web - ES6", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -215,18 +215,3 @@ export default { | ||
return route | ||
}, | ||
storeData (list, more) { | ||
console.log('storeData', list.length, more) | ||
if (more !== true) { | ||
this.dataList = [] | ||
} | ||
// console.log('storeData', this.dataStore) | ||
this.dataStore = this.dataStore || {} | ||
for (let i = 0; i < list.length; i++) { | ||
this.dataList.push(list[i][this.dataId]) | ||
this.dataStore[list[i][this.dataId]] = list[i] | ||
} | ||
} | ||
} |
@@ -50,3 +50,3 @@ // based on https://sergimansilla.com/blog/virtual-scrolling/ | ||
// node.innerHTML = '' | ||
node.innerHTML = '' | ||
node.appendChild(fragment) | ||
@@ -53,0 +53,0 @@ |
@@ -47,3 +47,8 @@ import clone from '../module/clone' | ||
getInfoById (id) { | ||
return clone(this.dataStore[id]) | ||
// console.log('getInfoById', this.dataStore) | ||
let info = null | ||
if (this.dataStore) info = clone(this.dataStore[id]) | ||
return info | ||
}, | ||
@@ -50,0 +55,0 @@ |
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
498216
11871