1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-29 16:43:33 +02:00

intialize the vimperator global constant with an object literal rather than via

a constructor function; move the init() and unload() global functions to
startup and shutdown slots of vimperator
This commit is contained in:
Doug Kearns
2007-07-25 13:33:31 +00:00
parent 9bab3c8f15
commit 75a72e8791
5 changed files with 471 additions and 501 deletions

View File

@@ -240,7 +240,7 @@ function abs_point (node) {
// Vimperator searcher
// make sure you only create this object when the "vimperator" object is ready
//Vimperator.prototype.search = new function()
//vimperator.search = new function()
function Search() //{{{
{
var self = this; // needed for callbacks since "this" is the "vimperator" object in a callback