From dab722ef0b023e48e62547699b6255b8441d6bb3 Mon Sep 17 00:00:00 2001 From: Oliver Shi Date: Mon, 24 May 2021 10:46:03 -0400 Subject: [PATCH] run on-document-load js partial through #babel helper (#789) The exit disclaimer code instructions tell people to put their code in the on-document-load partial. We want this partial to work in ie11 even if people use newer features. J=SLAP-1131 TEST=manual see that I can specify an arrow func in on-doc-load and it gets transpiled --- layouts/html.hbs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/html.hbs b/layouts/html.hbs index d41854428..a41eddd06 100644 --- a/layouts/html.hbs +++ b/layouts/html.hbs @@ -78,9 +78,11 @@ href="{{#unless (isNonRelativeUrl global_config.favicon)}}{{relativePath}}/{{/unless}}{{global_config.favicon}}" /> {{/if}} {{#if global_config.googleAnalyticsId}}