Skip to content

Commit

Permalink
Update abe-handlebars-helpers.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Oct 28, 2016
1 parent b0befef commit b212c30
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions docs/abe-handlebars-helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,35 @@ template.html
{{{{/raw}}}}
```

Everything inside raw bloc will be compiled client side and as the reload attribut is on the json that will be used is the one client side (not the one saved inside a json file)
when a new item will be added or removed from abe form *objs* inside the json file won't have changed but as it compiled on the client after reloading the iframe myArray will contains as much item as there is on objs each bloc
Everything inside raw block will be compiled client side and as the reload attribute is on the json that will be used is the one client side (not the one saved inside a json file)
when a new item will be added or removed from abe form *objs* inside the json file won't have changed but as it compiled on the client after reloading the iframe myArray will contains as much item as there is on objs each block

## lowercase

### Example

```html
{{lowercase 'my Text IS THERE'}}
```
Result : 'my text is there'

###Description

This helper... lowercases your text.

## uppercase

### Example

```html
{{uppercase 'my Text IS THERE'}}
```

Result : 'MY TEXT IS THERE'

###Description

This helper... uppercases your text.

## truncate

Expand Down Expand Up @@ -121,4 +148,4 @@ __CAUTION__ : If you want to test a handlebars variable like geocode.code, you'l
## printJson
## testObj
## i18nAbe
## times
## times

0 comments on commit b212c30

Please sign in to comment.