File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
+ # Copyright Istio Authors
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
3
17
set -ex
4
18
5
19
mkdir -p generated/js generated/img tmp/js
@@ -47,5 +61,4 @@ esbuild tmp/js/themes_init.js \
47
61
--sourcemap \
48
62
--outfile=generated/js/themes_init.min.js
49
63
50
- # Step 5: Generate SVG sprite
51
64
svgstore -o generated/img/icons.svg src/icons/** /* .svg
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ declare class Popper {
20
20
declare var iconFile : string ;
21
21
// Path to the SVG icon sprite file
22
22
23
-
24
23
// tracks any overlay displayed on the page (e.g. menu or popover)
25
24
let overlay : HTMLElement | null = null ;
26
25
let popper : Popper | null = null ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import { getById , listen } from "./utils";
17
17
import { click } from "./constants" ;
18
18
let scrollToTopButton : HTMLElement | null ;
19
19
let tocLinks : HTMLCollectionOf < HTMLAnchorElement > ;
20
- let tocHeadings : HTMLElement [ ] = [ ] ;
20
+ const tocHeadings : HTMLElement [ ] = [ ] ;
21
21
let pageHeader : HTMLElement | null ;
22
22
23
23
function handleScroll ( ) : void {
You can’t perform that action at this time.
0 commit comments