Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
docs(CHANGELOG): fix code snippets
Browse files Browse the repository at this point in the history
A few snippets were not wrapped in code blocks.

Closes #2245
  • Loading branch information
Aaron Mendez authored and pkozlowski-opensource committed May 22, 2014
1 parent cdbfac4 commit e420204
Showing 1 changed file with 24 additions and 12 deletions.
36 changes: 24 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,41 +123,53 @@
* `on-select-page` is removed since `ng-change` can now be used.

Before:


```html
<pagination page="current" on-select-page="changed(page)" ...></pagination>

```

After:

```html
<pagination ng-model="current" ng-change="changed()" ...></pagination>

```

- **rating:**
`rating` is now integrated with `ngModelController`.
* `value` is replaced from `ng-model`.

Before:

```html
<rating value="rate" ...></rating>

```

After:


```html
<rating ng-model="rate" ...></rating>

```

- **tabs:**

Use interpolation for type attribute.

Before:


```html
<tabset type="'pills'" ...></tabset >
or
<!-- or -->
<tabset type="navtype" ...></tabset>

```

After:


```html
<tabset type="pills" ...></tabset>
or
<!-- or -->
<tabset type="{{navtype}}" ...></tabset>

```

# 0.10.0 (2014-01-13)

_This release adds AngularJS 1.2 support_
Expand Down

0 comments on commit e420204

Please sign in to comment.