Skip to content

Commit

Permalink
feat(ember): Ember 2
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Update addon to support Ember2

    Get rid of the two-way binding and use 'data down, actions up (DDAU)'.
    See: http://emberjs.com/blog/2015/06/12/ember-1-13-0-released.html#toc_ember-2-0-beta

    Usage Before:
    ```handlebars
    {{bs-datetimepicker date=mydate format='YYYY-MM-DD'}}
    ```

    Usage Now (> v1.0.0):
    ```handlebars
    {{bs-datetimepicker date=mydate format='YYYY-MM-DD' updateDate=(action (mut model.date2))}}
    ```

Also check this commit d965e85q
  • Loading branch information
claudiocro committed Sep 22, 2015
1 parent 6c7e7b8 commit 43588f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Generate blueprints
ember generate ember-bootstrap-datetimepicker
```

## Ember 2
## BREAKING CHANGE for Ember 2
There are some breaking-changes when using this addon > v0.4.1

Two-way bindings are replaced by data down, actions up (DDAU).
Expand All @@ -28,7 +28,7 @@ Before:
After:
```handlebars
{{bs-datetimepicker date=mydate format='YYYY-MM-DD' updateDate=(action (mut model.date2))}}
```
```

## Basic Usage

Expand Down

0 comments on commit 43588f4

Please sign in to comment.