background.js
// gets the feed array for everyone to use
gets the feed array for everyone to use
gets the feed array for everyone to use
function GetFeeds(callBack)
{
    feeds = [];
    getFeedsCallBack = callBack;
    if(options.feedsource == "0")
    {
        if(localStorage["feeds"] != null)
        {
            feeds = JSON.parse(localStorage["feeds"]).sort(function (a, b){ return a.order - b.order; });
            UpdateSniffer();
        }
        feeds.unshift(GetReadLaterFeed());
        getFeedsCallBack();
    }
    else
    {
        chrome.bookmarks.getChildren(options.feedfolderid, GetFeedFolderChildren);
    }
}
function GetFeeds ( callBack ) { feeds = [ ] ; getFeedsCallBack = callBack ; if ( options . feedsource == "0" ) { if ( localStorage [ "feeds" ] != null ) { feeds = JSON . parse ( localStorage [ "feeds" ] ) . sort ( function ( a , b ) { return a . order - b . order ; } ) ; UpdateSniffer ( ) ; } feeds . unshift ( GetReadLaterFeed ( ) ) ; getFeedsCallBack ( ) ; } else { chrome . bookmarks . getChildren ( options . feedfolderid , GetFeedFolderChildren ) ; } }
gets the feed array for everyone to use
gets the feed array for everyone to use