Browse Source

Inline export for consistency (#4066)

dev
Pavel Vorona 8 years ago
committed by Evan You
parent
commit
20f7a06d69
  1. 3
      src/platforms/web/util/attrs.js

3
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',

Loading…
Cancel
Save