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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user