File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
import { capitalize , camelize } from "../util/string" ;
2
2
import { events , isReadOnlyEvent } from "./sortableEvents" ;
3
-
4
- function isHtmlAttribute ( value ) {
5
- return [ "id" , "class" ] . includes ( value ) || value . startsWith ( "data-" ) ;
6
- }
3
+ import { isHtmlAttribute } from "../util/tags" ;
7
4
8
5
function project ( entries ) {
9
6
return entries . reduce ( ( res , [ key , value ] ) => {
Original file line number Diff line number Diff line change @@ -126,4 +126,8 @@ function isTransition(name) {
126
126
return [ "transition-group" , "TransitionGroup" ] . includes ( name ) ;
127
127
}
128
128
129
- export { isHtmlTag , isTransition } ;
129
+ function isHtmlAttribute ( value ) {
130
+ return [ "id" , "class" ] . includes ( value ) || value . startsWith ( "data-" ) ;
131
+ }
132
+
133
+ export { isHtmlTag , isHtmlAttribute , isTransition } ;
You can’t perform that action at this time.
0 commit comments