From 9b152782ad464650a4bad867b36b07d7df46d56d Mon Sep 17 00:00:00 2001 From: Steven Chan Date: Thu, 11 Sep 2014 10:47:27 -0700 Subject: [PATCH] Fix indentation Signed-off-by: Steven Chan --- src/od_action.coffee | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/od_action.coffee b/src/od_action.coffee index 3c399be..0f33e8b 100644 --- a/src/od_action.coffee +++ b/src/od_action.coffee @@ -430,23 +430,23 @@ define [ @append inputs - # We will delegate the handling of download links to the page's - # tbody. The sequence of operation is as follows. We need to get - # from a download link to make the download request, receive a - # content link as a response, and then perform a 'normal' get of - # the content link. A complexity is to handle the error responses. - # - # TODO The initial get could fail, in which case, the errorpageurl - # will be used to convey the failure status as a query string. We - # will redirect the error page to the current page and we recognize - # the error condition by analysing the query parameters. - # - # TODO Another error condition could occur if an Overdrive Read - # ebook is attempted to be downloaded. Here, the odreadauthurl - # will be used as a redirect location. We will also redirect to the - # current page and hopefully will be able to discern the state and - # show it accordingly. - # + # We will delegate the handling of download links to the page's + # tbody. The sequence of operation is as follows. We need to get + # from a download link to make the download request, receive a + # content link as a response, and then perform a 'normal' get of + # the content link. A complexity is to handle the error responses. + # + # TODO The initial get could fail, in which case, the errorpageurl + # will be used to convey the failure status as a query string. We + # will redirect the error page to the current page and we recognize + # the error condition by analysing the query parameters. + # + # TODO Another error condition could occur if an Overdrive Read + # ebook is attempted to be downloaded. Here, the odreadauthurl + # will be used as a redirect location. We will also redirect to the + # current page and hopefully will be able to discern the state and + # show it accordingly. + # _download_format: -> @on 'click', 'td.formats a', (ev) -> $a = $(@) -- 2.11.0