Fixed hyphenated attributes.
This commit is contained in:
parent
301f00e9a4
commit
0076ae6627
1
TODO.md
1
TODO.md
@ -28,6 +28,7 @@ For example:
|
|||||||
```
|
```
|
||||||
<Outlet children={children} />
|
<Outlet children={children} />
|
||||||
```
|
```
|
||||||
|
- [x] `data-` attributes need to function correctly (really any attribute with hyphen).
|
||||||
|
|
||||||
## 0.1.1
|
## 0.1.1
|
||||||
- [x] `Switch` and `Case` components
|
- [x] `Switch` and `Case` components
|
||||||
|
@ -307,7 +307,7 @@ AttributeIdentifierStartChar
|
|||||||
|
|
||||||
fragment
|
fragment
|
||||||
AttributeIdentifierChar
|
AttributeIdentifierChar
|
||||||
: [\p{L}_$0-9]
|
: [-\p{L}_$0-9]
|
||||||
;
|
;
|
||||||
|
|
||||||
Equals
|
Equals
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
<test test-attr />
|
@ -0,0 +1 @@
|
|||||||
|
<test-type />
|
@ -0,0 +1,7 @@
|
|||||||
|
0: ComponentOpen[1,1](<)
|
||||||
|
1: StringIdentifier[1,2](test)
|
||||||
|
2: Nlws[1,6]( )
|
||||||
|
3: AttributeIdentifier[1,7](test-attr)
|
||||||
|
4: Nlws[1,16]( )
|
||||||
|
5: ComponentSelfClose[1,17](/>)
|
||||||
|
6: RawText[1,19](\n)
|
@ -0,0 +1,5 @@
|
|||||||
|
0: ComponentOpen[1,1](<)
|
||||||
|
1: StringIdentifier[1,2](test-type)
|
||||||
|
2: Nlws[1,11]( )
|
||||||
|
3: ComponentSelfClose[1,12](/>)
|
||||||
|
4: RawText[1,14](\n)
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
if [ "\$1" == "--debug" ]; then
|
if [ "\$1" == "--debug" ]; then
|
||||||
shift
|
shift
|
||||||
gradle -q toolsJar && java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:8192 -cp build/libs/web-view-components-compiler-tools-0.1.0.jar $mainClassName "\$@"
|
gradle -q toolsJar && java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:8192 -cp build/libs/web-view-components-compiler-tools-0.1.1.jar $mainClassName "\$@"
|
||||||
else
|
else
|
||||||
gradle -q toolsJar && java -cp build/libs/web-view-components-compiler-tools-0.1.0.jar $mainClassName "\$@"
|
gradle -q toolsJar && java -cp build/libs/web-view-components-compiler-tools-0.1.1.jar $mainClassName "\$@"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user