 
     # Supporting Functions
     # ====================
-
+    ###
     #<section id='get'/>
 
     # get
     # ---
 
-    # This function is responsible for all API requests, given a partial API path, `resource`, and an query argument object,
+    # This function is responsible for all API requests, given a
+    # partial API path, `resource`, and an query argument object,
     # `args`.
+    ###
     get = (resource, args, callback) ->
       cacheCallback = (value) ->
         _self[resource] = value

      url = _self.api + resource
      cache = _self[resource]
      return callback(cache)  if cache
      if chrome.extension is `undefined`

        # not embedded, demo mode
        switch resource
          when "tags"
            cacheCallback [
              {
                id: "user/c805fcbf-3acf-4302-a97e-d82f9d7c897f/tag/global.saved"
              }
              {
                id: "user/c805fcbf-3acf-4302-a97e-d82f9d7c897f/tag/tech"
                label: "tech"
              }
              {
                id: "user/c805fcbf-3acf-4302-a97e-d82f9d7c897f/tag/inspiration"
                label: "inspiration"
              }
            ]
          when "subscriptions"
            cacheCallback [
              {
                id: "feed/http://feeds.feedburner.com/design-milk"
                title: "Design Milk"
                categories: [
                  {
                    id: "user/c805fcbf-3acf-4302-a97e-d82f9d7c897f/category/design"
                    label: "design"
                  }
                  {
                    id: "user/c805fcbf-3acf-4302-a97e-d82f9d7c897f/category/global.must"
                    label: "must reads"
                  }
                ]
                sortid: "26152F8F"
                updated: 1367539068016
                website: "http://design-milk.com"
              }
              {
                id: "feed/http://5secondrule.typepad.com/my_weblog/atom.xml"
                title: "5 second rule"
                categories: []
                sortid: "26152F8F"
                updated: 1367539068016
                website: "http://5secondrule.typepad.com/my_weblog/"
              }
              {
                id: "feed/http://feed.500px.com/500px-editors"
                title: "500px: Editors' Choice"
                categories: [
                  id: "user/c805fcbf-3acf-4302-a97e-d82f9d7c897f/category/photography"
                  label: "photography"
                ]
                sortid: "26152F8F"
                updated: 1367539068016
                website: "http://500px.com/editors"
              }
            ]
          when "profile"
            cacheCallback
              id: "c805fcbf-3acf-4302-a97e-d82f9d7c897f"
              email: "jim.smith@gmail.com"
              givenName: "Jim"
              familyName: "Smith"
              picture: "img/download.jpeg"
              gender: "male"
              locale: "en"
              reader: "9080770707070700"
              google: "115562565652656565656"
              twitter: "jimsmith"
              facebook: ""
              wave: "2013.7"

          when "categories"
            cacheCallback [
              {
                id: "user/c805fcbf-3acf-4302-a97e-d82f9d7c897f/category/tech"
                label: "tech"
              }
              {
                id: "user/c805fcbf-3acf-4302-a97e-d82f9d7c897f/category/design"
                label: "design"
              }
            ]
          when "topics"
            cacheCallback [
              {
                id: "user/c805fcbf-3acf-4302-a97e-d82f9d7c897f/topic/arduino"
                interest: "high"
                updated: 1367539068016
                created: 1367539068016
              }
              {
                id: "user/c805fcbf-3acf-4302-a97e-d82f9d7c897f/topic/rock climbing"
                interest: "low"
                updated: 1367539068016
                created: 1367539068016
              }
            ]
          when "preferences"
            cacheCallback
              autoMarkAsReadOnSelect: "50"
              "category/reviews/entryOverviewSize": "0"
              "subscription/feed/http://feeds.engadget.com/weblogsinc/engadget/entryOverviewSize": "4"
              "subscription/feed/http://www.yatzer.com/feed/index.php/hideReadArticlesFilter": "off"
              "category/photography/entryOverviewSize": "6"
              "subscription/feed/http://feeds.feedburner.com/venturebeat/entryOverviewSize.mobile": "1"

      else
        if args
          url += "?" + _.map(args, (v, k) ->

    # makeNodes
    # ---------

    # This function builds child pathnodes from the directory
    # information returned by getDir.
    makeNodes = (children) ->
      _console.debug "[Josh.FeedlyConsole] makeNodes %O.", children
      _.map children, (node) ->
