From 6c16ee5e81d86dc05e5fdf717f63e28370192ae4 Mon Sep 17 00:00:00 2001 From: John Reilly Date: Thu, 13 Mar 2014 13:55:13 +0000 Subject: [PATCH 1/3] Amended text documentation To allow number / boolean to be passed based on input from @dmethvin --- entries/text.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/entries/text.xml b/entries/text.xml index af7880ea..481cf572 100644 --- a/entries/text.xml +++ b/entries/text.xml @@ -52,8 +52,11 @@ $( "p:last" ).html( str ); 1.0 - - A string of text to set as the content of each matched element. + + + + + The text to set as the content of each matched element. From c69fd3b03c028465594648795cb7e274402568ec Mon Sep 17 00:00:00 2001 From: John Reilly Date: Mon, 17 Mar 2014 09:37:00 +0000 Subject: [PATCH 2/3] text: Add Number/Boolean serialization comment as per discussion with @kswedberg --- entries/text.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entries/text.xml b/entries/text.xml index 481cf572..34e4cf03 100644 --- a/entries/text.xml +++ b/entries/text.xml @@ -56,7 +56,7 @@ $( "p:last" ).html( str ); - The text to set as the content of each matched element. + The text to set as the content of each matched element. Where Number or Boolean are supplied these will be converted to string representations. From b4d7df32c6c8ec8845d669e94e2a9fcfd098d5c9 Mon Sep 17 00:00:00 2001 From: John Reilly Date: Tue, 18 Mar 2014 16:44:22 +0000 Subject: [PATCH 3/3] 3rd times a charm --- entries/text.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entries/text.xml b/entries/text.xml index 34e4cf03..8ba40495 100644 --- a/entries/text.xml +++ b/entries/text.xml @@ -56,7 +56,7 @@ $( "p:last" ).html( str ); - The text to set as the content of each matched element. Where Number or Boolean are supplied these will be converted to string representations. + The text to set as the content of each matched element. When Number or Boolean is supplied, it will be converted to a String representation.