File tree Expand file tree Collapse file tree 5 files changed +8
-9
lines changed
demos/live_memory/components/LiveMemory Expand file tree Collapse file tree 5 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
$ config = new TwigCsFixer \Config \Config ();
4
- $ config ->setCacheFile (null );
5
4
6
5
return $ config ;
Original file line number Diff line number Diff line change 1
1
{% set default_attributes = {
2
- ' class' : ' Icon Icon--' ~ name ,
3
- ' role' : ' img' ,
2
+ class : ' Icon Icon--' ~ name ,
3
+ role : ' img' ,
4
4
' aria-hidden' : ' true' ,
5
5
' aria-label' : label ,
6
6
} %}
Original file line number Diff line number Diff line change 100
100
<div class =" TabPanel" data-tabs-target =" tab" id =" IconModal-Tab-Meta" data-tab =" meta" >
101
101
<div class =" grid" style =" --cols: 1fr 1fr" >
102
102
<twig:DataList items =" {{ {
103
- ' Name' : icon .name ,
104
- ' Author' : icon_set .author .name ,
105
- ' GitHub' : icon_set .github ? {
103
+ Name : icon .name ,
104
+ Author : icon_set .author .name ,
105
+ GitHub : icon_set .github ? {
106
106
title : icon_set .github .name ,
107
107
href : icon_set .github .url ,
108
108
} : null ,
109
- ' Licence' : icon_set .license ? {
109
+ Licence : icon_set .license ? {
110
110
title : icon_set .license .title ,
111
111
href : icon_set .license .url |default,
112
112
} : null ,
Original file line number Diff line number Diff line change 6
6
{% else %}
7
7
{{ form_start(form , {
8
8
attr : {
9
- ' novalidate' : true ,
9
+ novalidate : true ,
10
10
' data-action' : ' live#action:prevent' ,
11
11
' data-live-action-param' : ' saveRegistration' ,
12
12
}
Original file line number Diff line number Diff line change 1
1
<div {{ attributes.defaults ({
2
- ' class' : ' LiveMemory-Timer' ~ (this .blinking ? ' LiveMemory-Timer--blinking' : ' ' )
2
+ class : ' LiveMemory-Timer' ~ (this .blinking ? ' LiveMemory-Timer--blinking' : ' ' )
3
3
}) }}
4
4
{% if this .remainingTime > (this .warningThreshold * 1000 ) %}
5
5
data-poll =" delay({{ this .remainingTime - (this .warningThreshold * 1000 ) }})|tick"
You can’t perform that action at this time.
0 commit comments