1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 21:04:12 +01:00

Prefer let over var in Highlights and Bookmarks.

This commit is contained in:
Doug Kearns
2008-12-23 01:30:33 +11:00
parent feeccb23d2
commit dba08286e8
2 changed files with 38 additions and 38 deletions

View File

@@ -135,9 +135,9 @@ Highlights.prototype.CSS = <![CDATA[
*/
function Highlights(name, store, serial)
{
var self = this;
var highlight = {};
var styles = storage.styles;
let self = this;
let highlight = {};
let styles = storage.styles;
const Highlight = Struct("class", "selector", "filter", "default", "value");
Highlight.defaultValue("filter", function () "chrome://liberator/content/buffer.xhtml" + "," + config.styleableChrome);