mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 10:34:11 +01:00
Remove unneeded sleep const in Cache.
This commit is contained in:
@@ -82,7 +82,6 @@ function Bookmarks() //{{{
|
|||||||
function Cache(name, store, serial)
|
function Cache(name, store, serial)
|
||||||
{
|
{
|
||||||
const rootFolders = [bookmarksService.toolbarFolder, bookmarksService.bookmarksMenuFolder, bookmarksService.unfiledBookmarksFolder];
|
const rootFolders = [bookmarksService.toolbarFolder, bookmarksService.bookmarksMenuFolder, bookmarksService.unfiledBookmarksFolder];
|
||||||
const sleep = liberator.sleep;
|
|
||||||
|
|
||||||
let bookmarks = [];
|
let bookmarks = [];
|
||||||
let self = this;
|
let self = this;
|
||||||
@@ -142,7 +141,7 @@ function Bookmarks() //{{{
|
|||||||
if (loading)
|
if (loading)
|
||||||
{
|
{
|
||||||
while (loading)
|
while (loading)
|
||||||
sleep(10);
|
liberator.sleep(10);
|
||||||
return bookmarks;
|
return bookmarks;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user