From 87d89ebdad036200a47e1d47f2d015ea554f6089 Mon Sep 17 00:00:00 2001 From: Toni Gundogdu Date: Mon, 30 Jul 2012 21:12:32 +0300 Subject: [PATCH] Remove util/charset.lua This script is no longer used by the library. --- share/Makefile.am | 1 - share/lua/util/charset.lua | 28 ---------------------------- 2 files changed, 29 deletions(-) delete mode 100644 share/lua/util/charset.lua diff --git a/share/Makefile.am b/share/Makefile.am index 8be4f2a..1fc96a3 100644 --- a/share/Makefile.am +++ b/share/Makefile.am @@ -20,7 +20,6 @@ DIST_lua+=\ DIST_lua+=\ lua/README \ lua/util/content_type.lua \ - lua/util/charset.lua \ lua/util/trim.lua \ lua/website/README \ lua/website/101greatgoals.lua \ diff --git a/share/lua/util/charset.lua b/share/lua/util/charset.lua deleted file mode 100644 index 4bc95b6..0000000 --- a/share/lua/util/charset.lua +++ /dev/null @@ -1,28 +0,0 @@ - --- libquvi-scripts --- Copyright (C) 2010,2012 Toni Gundogdu --- --- This file is part of libquvi-scripts . --- --- This library is free software; you can redistribute it and/or --- modify it under the terms of the GNU Lesser General Public --- License as published by the Free Software Foundation; either --- version 2.1 of the License, or (at your option) any later version. --- --- This library is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --- Lesser General Public License for more details. --- --- You should have received a copy of the GNU Lesser General Public --- License along with this library; if not, write to the Free Software --- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA --- 02110-1301 USA --- - --- Parse charset from data. -function charset_from_data(data) - return (data:lower():match('charset="?([%w-_]+)')) -end - --- vim: set ts=4 sw=4 tw=72 expandtab: -- 2.11.4.GIT