1
0
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:
Kris Maglione
2010-12-10 07:59:20 -05:00
parent a1c93979ae
commit 2f79dc44b7
3 changed files with 2 additions and 22 deletions

View File

@@ -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) {