From: John Benediktsson Date: Thu, 21 Sep 2023 03:13:42 +0000 (-0700) Subject: google.charts: check title/data before set-url-param X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=adff5af2b73f26bfd5cd3a88b35ea5ce94b186be google.charts: check title/data before set-url-param --- diff --git a/extra/google/charts/charts.factor b/extra/google/charts/charts.factor index 086845e671..72830602fc 100644 --- a/extra/google/charts/charts.factor +++ b/extra/google/charts/charts.factor @@ -82,8 +82,8 @@ PRIVATE> "%sx%s" sprintf "chs" set-query-param ] [ 2drop ] if ] - [ title>> "chtt" set-query-param ] - [ data>> "t:" prepend "chd" set-query-param ] + [ title>> [ "chtt" set-query-param ] when* ] + [ data>> [ "t:" prepend "chd" set-query-param ] when* ] [ data-scale>> [ "chds" set-query-param ] when* ] [ labels>> "chl" set-query-param ] [