Diff

util/dataforms.lua @ 3540:bc139431830b

Monster whitespace commit (beware the whitespace monster).
author Waqas Hussain <waqas20@gmail.com>
date Sat, 16 Oct 2010 23:00:42 +0500
parent 3380:e74e80b454a1
child 4397:1378e3c79c34
line wrap: on
line diff
--- a/util/dataforms.lua	Sat Oct 16 08:34:32 2010 +0500
+++ b/util/dataforms.lua	Sat Oct 16 23:00:42 2010 +0500
@@ -126,7 +126,7 @@
 	return data;
 end
 
-field_readers["text-single"] = 
+field_readers["text-single"] =
 	function (field_tag)
 		local value = field_tag:child_with_name("value");
 		if value then
@@ -134,13 +134,13 @@
 		end
 	end
 
-field_readers["text-private"] = 
+field_readers["text-private"] =
 	field_readers["text-single"];
 
 field_readers["jid-single"] =
 	field_readers["text-single"];
 
-field_readers["jid-multi"] = 
+field_readers["jid-multi"] =
 	function (field_tag)
 		local result = {};
 		for value_tag in field_tag:childtags() do
@@ -151,7 +151,7 @@
 		return result;
 	end
 
-field_readers["text-multi"] = 
+field_readers["text-multi"] =
 	function (field_tag)
 		local result = {};
 		for value_tag in field_tag:childtags() do
@@ -176,7 +176,7 @@
 		return result;
 	end
 
-field_readers["boolean"] = 
+field_readers["boolean"] =
 	function (field_tag)
 		local value = field_tag:child_with_name("value");
 		if value then
@@ -185,10 +185,10 @@
 			else
 				return false;
 			end
-		end		
+		end
 	end
 
-field_readers["hidden"] = 
+field_readers["hidden"] =
 	function (field_tag)
 		local value = field_tag:child_with_name("value");
 		if value then