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

new vimperator.buffer.element function to quickly retrieve a single element with XPath attributes

This commit is contained in:
Martin Stubenschrott
2007-12-20 15:19:09 +00:00
parent 5122e6c448
commit 39094268eb
3 changed files with 10 additions and 1 deletions

View File

@@ -271,7 +271,8 @@ vimperator.Events = function () //{{{
for (var now = then; now - then < ms; now = new Date().getTime())
{
mainThread.processNextEvent(true);
dump("waited: " + (now - then) + " ms\n");
if ((now -then) % 1000 < 10)
dump("waited: " + (now - then) + " ms\n");
if (vimperator.buffer.loaded > 0)
break;