From 33b0cf18fcf9a47df62da6388f5d94495757edf0 Mon Sep 17 00:00:00 2001 From: liangguirong Date: Sat, 22 Jun 2024 15:05:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0OAT=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=9A=84=E7=89=88=E6=9D=83=E5=A4=B4=E5=92=8Cqrcodegen.ets?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=89=88=E6=9D=83=E5=A4=B4=E7=9A=84Based=20o?= =?UTF-8?q?n=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liangguirong --- OAT.xml | 17 +++++++++++ .../ets/components/MainPage/qrcodegen.ets | 29 ++++++++----------- 2 files changed, 29 insertions(+), 17 deletions(-) diff --git a/OAT.xml b/OAT.xml index 749bc93..b25d49e 100644 --- a/OAT.xml +++ b/OAT.xml @@ -1,4 +1,21 @@ + diff --git a/library/src/main/ets/components/MainPage/qrcodegen.ets b/library/src/main/ets/components/MainPage/qrcodegen.ets index 941755e..b6139a9 100644 --- a/library/src/main/ets/components/MainPage/qrcodegen.ets +++ b/library/src/main/ets/components/MainPage/qrcodegen.ets @@ -1,24 +1,19 @@ /* - * QR Code generator library (TypeScript) + * The MIT License (MIT) + * Copyright (C) 2024 Huawei Device Co., Ltd. * + * Based on qrcodegen.ts written by * Copyright (c) Project Nayuki. (MIT License) - * https://www.nayuki.io/page/qr-code-generator-library * - * Permission is hereby granted, free of charge, to any person obtaining a copy of - * this software and associated documentation files (the "Software"), to deal in - * the Software without restriction, including without limitation the rights to - * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of - * the Software, and to permit persons to whom the Software is furnished to do so, - * subject to the following conditions: - * - The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - The Software is provided "as is", without warranty of any kind, express or - * implied, including but not limited to the warranties of merchantability, - * fitness for a particular purpose and noninfringement. In no event shall the - * authors or copyright holders be liable for any claim, damages or other - * liability, whether in an action of contract, tort or otherwise, arising from, - * out of or in connection with the Software or the use or other dealings in the - * Software. + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. */ "use strict"; -- Gitee