mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Remove unnecessary explicit argument passing.
It passes kwargs anyway, and it's not used.
This commit is contained in:
parent
9863d51451
commit
24c4afa8d3
1 changed files with 2 additions and 3 deletions
|
@ -680,10 +680,9 @@
|
|||
% endif
|
||||
</%def>
|
||||
|
||||
<%def name="shorthand(name, sub_properties, experimental=False, derive_serialize=False, **kwargs)">
|
||||
<%def name="shorthand(name, sub_properties, derive_serialize=False, **kwargs)">
|
||||
<%
|
||||
shorthand = data.declare_shorthand(name, sub_properties.split(), experimental=experimental,
|
||||
**kwargs)
|
||||
shorthand = data.declare_shorthand(name, sub_properties.split(), **kwargs)
|
||||
%>
|
||||
% if shorthand:
|
||||
/// ${shorthand.spec}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue