1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-04 00:45:47 +01:00

Merge changes from bootstrapped.

This commit is contained in:
Kris Maglione
2010-12-25 13:45:05 -05:00
parent 7e712dae0f
commit 617a37db1e
14 changed files with 124 additions and 73 deletions

View File

@@ -11,9 +11,9 @@ defineModule("highlight", {
use: ["template", "util"]
});
const Highlight = Struct("class", "selector", "sites",
"default", "value", "agent",
"base", "baseClass", "style");
var Highlight = Struct("class", "selector", "sites",
"default", "value", "agent",
"base", "baseClass", "style");
Highlight.liveProperty = function (name, prop) {
let i = this.prototype.members[name];
this.prototype.__defineGetter__(name, function () this[i]);
@@ -52,7 +52,7 @@ Highlight.prototype.toString = function ()
*
* @author Kris Maglione <maglione.k@gmail.com>
*/
const Highlights = Module("Highlight", {
var Highlights = Module("Highlight", {
init: function () {
this.highlight = {};
this.loaded = {};