Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3 from james2doyle/parent-element-append-example
Browse files Browse the repository at this point in the history
fix error in example code
  • Loading branch information
0x8890 committed Nov 23, 2015
2 parents 6418419 + 7ac8d13 commit c4f4966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ var bindings = bind(fragment, {
})
})

document.appendChild(bind(data, bindings))
document.body.appendChild(bind(data, bindings))
```

The DOM will update if any of the bound keys are assigned.
Expand Down

0 comments on commit c4f4966

Please sign in to comment.