diff --git a/web/assets/js/theme.js b/web/assets/js/theme.js index 63c4e18..c81f362 100644 --- a/web/assets/js/theme.js +++ b/web/assets/js/theme.js @@ -1,3 +1,19 @@ +/** + * Copyright 2024 Undistro Authors + * + * 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. + */ + import { ACE_EDITOR, localStorageModeKey, diff --git a/web/assets/js/utils/editor.js b/web/assets/js/utils/editor.js index 4a4db5a..11c765a 100644 --- a/web/assets/js/utils/editor.js +++ b/web/assets/js/utils/editor.js @@ -1,3 +1,19 @@ +/** + * Copyright 2024 Undistro Authors + * + * 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. + */ + import { AceEditor } from "../editor.js"; import { setEditorTheme } from "../theme.js"; import { getCurrentMode } from "./localStorage.js"; diff --git a/web/assets/js/utils/localStorage.js b/web/assets/js/utils/localStorage.js index d6ca9d2..97f20a0 100644 --- a/web/assets/js/utils/localStorage.js +++ b/web/assets/js/utils/localStorage.js @@ -1,3 +1,19 @@ +/** + * Copyright 2024 Undistro Authors + * + * 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. + */ + import { localStorageModeKey, localStorageThemeKey } from "../constants.js"; export function getCurrentTheme() {