From fceddc7aa99798579c5375a982f3c32193733f07 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Wed, 5 Mar 2014 14:28:30 -0800 Subject: [PATCH] deleted commented-out code --- render.rkt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/render.rkt b/render.rkt index 2df6cb5..dadab4b 100644 --- a/render.rkt +++ b/render.rkt @@ -97,14 +97,6 @@ (when (or force (render-needed? source-path template-path output-path)) (render-to-file source-path template-path output-path))) -#| -(define/contract+provide (render-to-file-if-needed source-or-output-path #:force [force #f]) - ((complete-path?) (#:force boolean?) . ->* . void?) - (define-values (source-path output-path) (->source+output-paths source-or-output-path)) - (define template-path (get-template-for source-path)) - (when (or force (render-needed? source-path template-path output-path)) - (render-to-file source-path template-path output-path)))|# - (define/contract+provide (render-to-file source-path [template-path #f] [maybe-output-path #f]) ((complete-path?) ((or/c #f complete-path?) (or/c #f complete-path?)) . ->* . void?)