Fixed breaking api change (#9170)

This commit is contained in:
Keith Holliday
2017-10-06 16:06:48 -05:00
committed by GitHub
parent 81d3e8a68f
commit a7c9355dd5
2 changed files with 11 additions and 7 deletions

View File

@@ -624,8 +624,12 @@ forOwn(backgrounds, function prefillBackgroundSet (backgroundsInSet, set) {
});
});
module.exports = {
tree: backgrounds,
flat,
};
export default backgrounds;
export function backgroundsTree () {
return backgrounds;
}
export function backgroundsFlat () {
return flat;
}