Remove config filtering

This commit is contained in:
Kyle Shockey
2017-07-27 13:01:44 -07:00
parent febd5ff554
commit 6ecae65b5f
2 changed files with 2 additions and 41 deletions

View File

@@ -597,18 +597,6 @@ export const buildFormData = (data) => {
return formArr.join("&")
}
export const filterConfigs = (configs, allowed) => {
let i, filteredConfigs = {}
for (i in configs) {
if (allowed.indexOf(i) !== -1) {
filteredConfigs[i] = configs[i]
}
}
return filteredConfigs
}
// Is this really required as a helper? Perhaps. TODO: expose the system of presets.apis in docs, so we know what is supported
export const shallowEqualKeys = (a,b, keys) => {
return !!find(keys, (key) => {