Commit 479bbee2 authored by S Anand's avatar S Anand

DOC: Release version 0.17.1

parent 7f8c3afc
Pipeline #87858 canceled with stage
# Change log
- `0.17.1`:
- [$.template](docs/template.md) exposes variables `$node` (the source node)
and `$data` (its `data-` attributes)
- [$.urlchange](docs/urlchange.md) emits a `#?` event when any URL query key
changes. This is in addition to the `#?<key>` and `#` events.
- `0.17.0`:
- [$.template](docs/template.md) supports sub-templates
......
......@@ -18,8 +18,12 @@ This displays `Your platform is ...` and shows the userAgent just below the scri
- Anything inside `<% ... %>` is executed as Javascript.
- Anything inside `<%= ... %>` is evaluated and rendered in-place.
Note: the `<template>` tag is not supported by Internet Explorer. Use
`<script type="text/html">` for IE compatibility.
Notes:
- `<template>` tag is not supported by Internet Explorer. Use
`<script type="text/html">` for IE compatibility.
- `<template>` requires valid HTML. `<a <%= classes %>>` is invalid HTML since
it contains `<` inside a tag. Use `<script type="text/html">` in such cases.
## $.template variables
......
{
"name": "g1",
"version": "0.17.0",
"version": "0.17.1",
"description": "Gramex 1.x interaction library",
"license": "MIT",
"author": "S Anand <s.anand@gramener.com>",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment