From 863daff020757b7a7b1c3926bb222612fab199ad Mon Sep 17 00:00:00 2001 From: Aurelio De Rosa Date: Sat, 28 Feb 2015 23:29:08 +0000 Subject: [PATCH] Update data.xml Removed trailing space --- entries/data.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entries/data.xml b/entries/data.xml index 944efa14..f54a229c 100644 --- a/entries/data.xml +++ b/entries/data.xml @@ -21,7 +21,7 @@ Store arbitrary data associated with the matched elements.

The .data() method allows us to attach data of any type to DOM elements in a way that is safe from circular references and therefore from memory leaks.

-

We can set several distinct values for a single element and retrieve them later:

+

We can set several distinct values for a single element and retrieve them later:


 $( "body" ).data( "foo", 52 );
 $( "body" ).data( "bar", { myType: "test", count: 40 } );