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