aboutsummaryrefslogtreecommitdiffstats
path: root/checkstyle/header
blob: a5db898ea28df05cd716c90a5780d25d41dd8cc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Copyright 2000-2018 Vaadin Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
9-update-code-signing-crl'>automated/noid/stable29-update-code-signing-crl Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/dist/core-public.js.map
blob: 6c8f0a8bdfaa790b986b6f5b1abd14da501a7503 (plain)
1
{"version":3,"file":"core-public.js?v=1e9c4c24dedb41c45e0c","mappings":"mBAKA,MAAMA,EAAOC,SAASD,KAChBE,EAASD,SAASE,cAAc,UACtC,IAAIC,EAAaF,GAAQG,aAWrBH,GACA,IAAII,gBAXUC,IACd,IAAK,MAAMC,KAASD,EAAS,CACzB,MAAME,EAASD,EAAME,YAAYD,OACjC,GAAIA,IAAWL,EACX,OAEJA,EAAaK,EACbT,EAAKW,MAAMC,YAAY,kBAAmB,GAAGH,MACjD,KAIKI,QAAQX,EAAQ,CACjBY,IAAK,c","sources":["webpack:///nextcloud/core/src/public.ts"],"sourcesContent":["\"use strict\";\n/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nconst body = document.body;\nconst footer = document.querySelector('footer');\nlet prevHeight = footer?.offsetHeight;\nconst onResize = (entries) => {\n    for (const entry of entries) {\n        const height = entry.contentRect.height;\n        if (height === prevHeight) {\n            return;\n        }\n        prevHeight = height;\n        body.style.setProperty('--footer-height', `${height}px`);\n    }\n};\nif (footer) {\n    new ResizeObserver(onResize)\n        .observe(footer, {\n        box: 'border-box', // <footer> is border-box\n    });\n}\n"],"names":["body","document","footer","querySelector","prevHeight","offsetHeight","ResizeObserver","entries","entry","height","contentRect","style","setProperty","observe","box"],"sourceRoot":""}