mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-08 03:14:13 +01:00
Remove template.gradient.
This commit is contained in:
@@ -78,21 +78,6 @@ const Template = Module("Template", {
|
||||
// </e4x>
|
||||
},
|
||||
|
||||
gradient: function (left, right)
|
||||
<div highlight="Gradient">
|
||||
<div style="height: 0px">
|
||||
<div highlight={right + " Gradient"}
|
||||
style="border: 0 !important; margin: 0 !important; padding: 0 !important;"/>
|
||||
</div>
|
||||
<table width="100%" style="height: 100%">
|
||||
<tr>
|
||||
{ template.map(util.range(0, 100), function (i)
|
||||
<td highlight={left} style={"opacity: " + (1 - i / 100)}
|
||||
/>) }
|
||||
</tr>
|
||||
</table>
|
||||
</div>,
|
||||
|
||||
// if "processStrings" is true, any passed strings will be surrounded by " and
|
||||
// any line breaks are displayed as \n
|
||||
highlight: function highlight(arg, processStrings, clip) {
|
||||
|
||||
Reference in New Issue
Block a user