From: Steven Chan Date: Wed, 3 Sep 2014 22:07:01 +0000 (-0700) Subject: Improve comments for Moment configuration clause in config module X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=90297bd5bd35e491724b85a2cdddf85612bf1ee6;p=contrib%2Foverdrive-eg-opac.git Improve comments for Moment configuration clause in config module Signed-off-by: Steven Chan --- diff --git a/src/od_config_template.coffee b/src/od_config_template.coffee index 03a3cd5..202918c 100644 --- a/src/od_config_template.coffee +++ b/src/od_config_template.coffee @@ -5,20 +5,20 @@ define [ 'moment' ], (M) -> - # Mapping between long name of home library and Overdrive authorization name - longname = - 'long name one': 'name1' - 'long name two': 'name2' - # Default configuration of date formats for Moment object; # see http://devdocs.io/moment/index#customization-long-date-formats M.lang 'en', longDateFormat: - LT: "h:mm A", - L: "MM/DD/YYYY", - LL: "MMMM Do YYYY", - LLL: "MMMM Do YYYY LT", + LT: "h:mm A" + L: "MM/DD/YYYY" + LL: "MMMM Do YYYY" + LLL: "MMMM Do YYYY LT" LLLL: "dddd, MMMM Do YYYY LT" + # Mapping between long name of home library and Overdrive authorization name + longname = + 'long name one': 'name1' + 'long name two': 'name2' + return { # Define the credentials to use to get client authentication to the