     if cache_entry
       _console.debug "[Josh.FeedlyConsole] %s cached.", resource
       return callback(cache_entry)
-      
+
     unless chrome.extension?
       # not embedded, demo mode
       demo = demo_data[resource]

          request.action, request
        sendResponse action: "ack"

    else
      # running in webpage, not extension
      $(document).ready ->
        initializeUI()
        _self.ui.activateAndShow()

    _self



class ApiRequest
  constructor: (@url) ->
    @_cache = {}

