Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/AdFabConnect/abejs
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Dec 16, 2016
2 parents 3b238c8 + f041a5b commit cb59258
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions docs/types/abe-data.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Abe type data

> Abe type __data__ allow you to make your static website more __dynamic__
> Abe type __data__ allows you to make your static website more __dynamic__
## How does it works ?
## How does it work ?

###Basic example

Expand All @@ -22,7 +22,7 @@
>
> __source__ = json data of possible values
optrionnal parameter
optional parameters

- desc = (String)
- editable = (Boolean)
Expand All @@ -35,7 +35,7 @@ optrionnal parameter

##Use it

Display user picked values into your html files
Display user picked values in your html files

```html
{{#each colors}}
Expand Down Expand Up @@ -69,7 +69,7 @@ this will __display__ (*because editable is true*) an input select with __3 choi
I have a json file inside my abe website

references/titles.json
reference/titles.json

```json
[
Expand Down Expand Up @@ -214,4 +214,4 @@ will add default content values
will as many content as the value


[More documentation about abe sql](abe-sql.md)
[More documentation about abe sql](abe-sql.md)
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export default class EditorReferences {
this.jsonError = document.querySelector('.json-error')
this.addReference = document.querySelector('.btn-add-reference')
this.addReferenceInput = document.querySelector('.btn-add-reference input')
this.nameError = this.addReference.querySelector('.error-display')
if(!this.referenceLinks || this.referenceLinks.length < 1) return
this.nameError = this.addReference.querySelector('.error-display')
this.rebind()
}

Expand Down

0 comments on commit cb59258

Please sign in to comment.