From 7a14ed1b60447683faec27afcd05be7f8cda2acf Mon Sep 17 00:00:00 2001 From: Bogdan Bodnar Date: Thu, 26 Sep 2019 12:23:22 +0200 Subject: [PATCH] Copyright. --- src/forisUrls.js | 7 +++++++ src/index.js | 7 +++++++ src/utils/objectHelpers.js | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/src/forisUrls.js b/src/forisUrls.js index a5f83ba..3499d27 100644 --- a/src/forisUrls.js +++ b/src/forisUrls.js @@ -1,3 +1,10 @@ +/* + * Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/) + * + * This is free software, licensed under the GNU General Public License v3. + * See /LICENSE for more information. + */ + export const REFORIS_URL_PREFIX = process.env.LIGHTTPD ? "/reforis" : ""; export const ForisURLs = { diff --git a/src/index.js b/src/index.js index 267ba1f..935eb58 100644 --- a/src/index.js +++ b/src/index.js @@ -1,3 +1,10 @@ +/* + * Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/) + * + * This is free software, licensed under the GNU General Public License v3. + * See /LICENSE for more information. + */ + // API export { useAPIGet } from "api/get"; export { useAPIPost } from "api/post"; diff --git a/src/utils/objectHelpers.js b/src/utils/objectHelpers.js index 28e3672..9fe5b8e 100644 --- a/src/utils/objectHelpers.js +++ b/src/utils/objectHelpers.js @@ -1,3 +1,10 @@ +/* + * Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/) + * + * This is free software, licensed under the GNU General Public License v3. + * See /LICENSE for more information. + */ + /** Return undefined if object has no keys, otherwise return object. */ export function undefinedIfEmpty(instance) { if (Object.keys(instance).length > 0) {