Releases: intersel/Blapy
Releases · intersel/Blapy
Blapy Version 1.14.2
Blapy Version 1.14.1
- data-blapy-template-init-processdata may contain several functions to be applied on received json data
Blapy Version 1.14.0
- the template files for json data are now loading asynchronously (use of promise/await)
- if reused in an other blapy block, given template file is loaded only once
Blapy Version 1.13.8
- fix on xmp detection for multi templating
- add 'templateId' parameter in 'params' for 'postData' and 'updateBlock' events to manage template changes
Blapy Version 1.13.7
- fix bad injection of xmp when template file contains them
Blapy Version 1.13.6
- fix on sending blapy data according to the status of "noblapy-data"
- update ifsm to last version
- update examples
Blapy Version 1.13.5
-
- 2019/11/26 - E.Podvin - 1.13.5
-
- different log level between ifsm and blapy
-
- fix in postData when console log on embeddingBLockId not set (use of aFSM instead of myFSM)
-
- 2019/11/15 - E.Podvin - 1.13.4
-
- add data-blapy-params property for A tag element to specify data to send to url
-
- 2019/11/14 - E.Podvin - 1.13.3
-
- use of event.currentTarget instead of event.target
-
- use of postData for blapy-link on tag A allowing to define "method" attribute
-
- 2019/11/12 - E.Podvin - 1.13.2
-
- fixes for compliance with non json blapy blocks after the json dev
-
- 2019/11/01 - E.Podvin - 1.13.1
-
- alert when htmllBlapyBlock id is not found in embedHtmlPage
-
- use of log.warn when error/warning
-
- fix load of img or script by the system in setBlapyContainerJsonTemplate
Blapy Version 1.13.0 - add nested json blocks
- add nested json blocks by escaping xmp tags that does not accept to be nested :-( see demos/demo_json_nested_blocks/
- fix data-blapy-template-init-purejson to default to 1
Blapy Version 1.12.1 - fix on template embeded with xmp
All xmp tags were removed in a json template, which could provoked some html changes in templates that contains templates (with xmp)...
fixed
Blapy Version 1.12.0
- add data-blapy-template-mustache-delimiterStart and data-blapy-template-mustache-delimiterEnd to be able to change mustache delimiters when rendering template
- set eval of data-blapy-template-init-processdata function out of the catch error test for json validation
Example:
<span
id="fnameOptionsFirstName"
data-blapy-container="true"
data-blapy-container-name="fnameOptions"
data-blapy-container-content="fnameOptionsFirstName"
data-blapy-update="json"
data-blapy-template-wrap='<select name="firstname" onChange="getJson();">'
data-blapy-template-mustache-delimiterStart="<%"
data-blapy-template-mustache-delimiterEnd="%>"
>
<xmp style="display:none;">
<option value="<%firstname%>"><%firstname%></option>
</xmp>
</span>