Skip to content

Commit

Permalink
update copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
bjohansebas committed Nov 27, 2024
1 parent d5ca463 commit 20c2a12
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _layouts/3x-api.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!---
Copyright (c) 2016 StrongLoop, IBM, and Express Contributors
Copyright (c) 2024 OpenJs Foundation and Express Contributors
License: MIT
-->
<html lang="{{ page.lang }}">
Expand Down
2 changes: 1 addition & 1 deletion _layouts/4x-api.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!---
Copyright (c) 2016 StrongLoop, IBM, and Express Contributors
Copyright (c) 2024 OpenJs Foundation and Express Contributors
License: MIT
-->
<html lang="{{ page.lang }}">
Expand Down
2 changes: 1 addition & 1 deletion _layouts/5x-api.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!---
Copyright (c) 2016 StrongLoop, IBM, and Express Contributors
Copyright (c) 2024 OpenJs Foundation and Express Contributors
License: MIT
-->
<html lang="{{ page.lang }}">
Expand Down
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!---
Copyright (c) 2016 StrongLoop, IBM, and Express Contributors
Copyright (c) 2024 OpenJs Foundation and Express Contributors
License: MIT
-->
<html lang="{{ page.lang }}">
Expand Down
2 changes: 1 addition & 1 deletion _layouts/page.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!---
Copyright (c) 2016 StrongLoop, IBM, and Express Contributors
Copyright (c) 2024 OpenJs Foundation and Express Contributors
License: MIT
-->
{% if page.lang %}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!---
Copyright (c) 2016 StrongLoop, IBM, and Express Contributors
Copyright (c) 2024 OpenJs Foundation and Express Contributors
License: MIT
-->
<html lang="{{ page.lang }}">
Expand Down
2 changes: 1 addition & 1 deletion css/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2016 StrongLoop, IBM, and Express Contributors
Copyright (c) 2024 OpenJs Foundation and Express Contributors
License: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion js/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2016 StrongLoop, IBM, and Express Contributors
Copyright (c) 2024 OpenJs Foundation and Express Contributors
License: MIT
*/

Expand Down
5 changes: 5 additions & 0 deletions js/menu.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) 2024 OpenJs Foundation and Express Contributors
License: MIT
*/

// It uses `window.matchMedia` instead of `window.addEventListener('resize')` because `matchMedia` performs better by not changing its value with every screen resize.
const mobileScreen = window.matchMedia("(max-width: 1110px)");
let isSmallScreen = mobileScreen?.matches;
Expand Down
5 changes: 5 additions & 0 deletions js/theme.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) 2024 OpenJs Foundation and Express Contributors
License: MIT
*/

const themeWatcher = watchColorSchemeChange((colorScheme) => {
if (!hasLocalStorage()) {
document?.addEventListener('DOMContentLoaded', () => {
Expand Down

0 comments on commit 20c2a12

Please sign in to comment.