/** * Export hass util functions to window. * * This file is a workaround for the fact that Polymer 2 doesn't work well with * ES6 JS imports. Once we move to Polymer 3, we should be able to simply * import these functions where we need them. */ import attributeClassNames from './common/util/attribute_class_names'; window.hassUtil = window.hassUtil || {}; window.hassUtil.attributeClassNames = attributeClassNames;