diff --git a/src/platforms/web/util/attrs.js b/src/platforms/web/util/attrs.js index ec14d221..b3ab20ae 100644 --- a/src/platforms/web/util/attrs.js +++ b/src/platforms/web/util/attrs.js @@ -33,14 +33,13 @@ const isAttr = makeMap( ) /* istanbul ignore next */ -const isRenderableAttr = (name: string): boolean => { +export const isRenderableAttr = (name: string): boolean => { return ( isAttr(name) || name.indexOf('data-') === 0 || name.indexOf('aria-') === 0 ) } -export { isRenderableAttr } export const propsToAttrMap = { acceptCharset: 'accept-charset',