Skip to content

Commit

Permalink
Remove Polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff committed Jun 27, 2024
1 parent 6b371fd commit 0516475
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 10 deletions.
1 change: 1 addition & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@
"hjsv",
"hljs",
"hodgeman",
"holo",
"homepage",
"hornung",
"horz",
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20.15.0
2 changes: 0 additions & 2 deletions content/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,6 @@ If you want to also use the Modus Framework layout (top nav, left nav, and conte
```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@trimbleinc/modus-bootstrap@{{< modus-bootstrap-version >}}/dist/modus-layout.css">
<script src="https://cdn.jsdelivr.net/npm/@trimbleinc/modus-bootstrap@{{< modus-bootstrap-version >}}/dist/modus-layout.js"></script>
<!-- For Internet Explorer compatibility -->
<script nomodule src="https://polyfill.io/v3/polyfill.min.js"></script>
```

Learn more about [using the layout CSS/JS](/layout/).
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"lint-js": "eslint \"assets/js/*.js\" \"layouts/**/*.html\" --fix",
"lint-links": "npx linkinator ./build --recurse --silent",
"lint-markdown": "npx markdownlint-cli content/**/*.md",
"lint-spellcheck": "npx cspell \"content/**/*.md\" --no-progress",
"lint-spell": "npx cspell \"content/**/*.*\" --no-progress",
"pa11y": "npx pa11y https://modus-bootstrap.trimble.com/",
"prettier": "prettier --write \"**/*.{json,scss,yml}\"",
"serve": "npm run lint-js && hugo serve --port 5000 --disableFastRender --navigateToChanged",
Expand All @@ -39,7 +39,7 @@
"eslint": "8.57.0",
"eslint-plugin-html": "8.1.1",
"htmlhint": "1.1.4",
"hugo-bin": "0.124.0",
"hugo-bin": "0.125.0",
"list.js": "2.3.1",
"npm-run-all": "4.1.5",
"postcss": "8.4.38",
Expand Down
2 changes: 0 additions & 2 deletions static/examples/maps-webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
href="https://cdn.jsdelivr.net/npm/@trimbleinc/modus-bootstrap@1.6.2/dist/modus.min.css" />
<link rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2280%22>Ⓜ️</text></svg>">
<!-- IE11 polyfill for Modus Layout-->
<script nomodule crossorigin="anonymous" src="https://polyfill.io/v3/polyfill.min.js?features=default"></script>
</head>

<body>
Expand Down
3 changes: 0 additions & 3 deletions static/examples/modus-layout/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
<!-- Modus layout CSS must load before Modus Bootstrap CSS so that colors are overwritten -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@trimbleinc/modus-bootstrap@1/dist/modus-layout.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@trimbleinc/modus-bootstrap@1/dist/modus.min.css">

<!-- IE11 polyfill for Modus Layout-->
<script nomodule crossorigin="anonymous" src="https://polyfill.io/v3/polyfill.min.js?features=default"></script>
</head>

<body>
Expand Down

0 comments on commit 0516475

Please sign in to comment.