From 154d344316cca668c3f37f1592547fbb5fc8a55c Mon Sep 17 00:00:00 2001 From: isisadmin Date: Thu, 8 Oct 2015 16:49:50 +0200 Subject: [PATCH] update md --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f7e0663..e32093e 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ Send a mail to developers@routetopa.eu This is a minimal example of deep client usage. + @@ -49,13 +50,13 @@ This is a minimal example of deep client usage. jQuery(document).ready(function($) { var datalet_params = { - component : "DATALET_NAME", - params : { - data-url : "DATA_URL", - } - fields : Array("FIELD1", "FIELD2"), - placeHolder : "HTML_PLACEHOLDER" -}; + component : "DATALET_NAME", + params : { + data-url : "DATA_URL", + } + fields : Array("FIELD1", "FIELD2"), + placeHolder : "HTML_PLACEHOLDER" + }; ComponentService.deep_url = 'DEEP_URL'; ComponentService.getComponent(datalet_params); @@ -67,7 +68,7 @@ This is a minimal example of deep client usage.
- +
We create an empty HTML document with a single DIV. On document ready event we create a datalet_params object, this object contains information for Datalet retrieving and initialization. -- libgit2 0.21.4